How to Use Docker Compose With Jenkins

How to Use Docker Compose With Jenkins

CloudBeesTV

2 года назад

23,015 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

TheCoasterFollower
TheCoasterFollower - 22.07.2023 21:00

This runs on the built in node which isnt recommended. The challenge with this is using these in docker build agents, essentially docker in docker, like some comments here suggest. Is there a video or any resource cloudbees can provide for this?

Ответить
MONEY IS MY GAME
MONEY IS MY GAME - 27.04.2023 13:53

Hello everyone,

I have this issue docker: not found
because docker CLI is not installed by default.

Who know how to add docker CLI for Jenkins
Plugin or code thanks

I'll apprecied

Ответить
Anatol
Anatol - 21.02.2023 17:10

hello
what if i'm running jenkins inside docker container? how can i access docker-compose?

Ответить
Damjan Cvetkovic
Damjan Cvetkovic - 12.02.2023 14:29

I am getting curl: (7) Failed to connect to localhost port 3000: Connection refused
Did anyone get this?

Ответить
bacteria_
bacteria_ - 02.02.2023 14:44

Whaaaaaaaaaaaaaaat a intro with less than 5 secods, this deserve an oscar, straight to the point

Ответить
Vinícius Bohrer
Vinícius Bohrer - 06.12.2022 00:19

Amazing content, thank you!

Ответить
Burhan Ilayda
Burhan Ilayda - 02.12.2022 06:27

Thanks god! You save my life. The one and only issue i had was docker compose (v2) was not existing in Jenkins. For that i search a solution, actually i install it manually.

Ответить
oholdeno
oholdeno - 15.11.2022 23:36

Any idea how to get the Docker daemon running on my Jenkins instances?

Ответить
Shashwat Pathak
Shashwat Pathak - 30.08.2022 23:27

apart from this helpful video, I liked your keyboard's crispy sound. Can I know what keyboard you used here?

Ответить
Mounir Habsaoui
Mounir Habsaoui - 10.03.2022 18:30

Hi, thanks for sharing.

In fact, that's what I am trying to solve : How to properly execute docker and docker-compose commands, inside a Jenkins already running in docker container !

It is not obvious here if Jenkins is running in docker container or just installed on host...
Could you explain how you set the "linux based agent running docker + compose v2 " ??

Thanks

Ответить
Tony Chia
Tony Chia - 02.03.2022 02:53

Another thing I would probably add is to remove the network created by docker-compose before the test and after the test. Also it’s better to hard code the network number instead of let it float. I encounter an issue where the dynamic network docker-compose created duplicated and masked a real network to the npm registry so the test will randomly fail depending how many times the docket-compose has been used on that agent

Ответить
Aniket Das
Aniket Das - 01.03.2022 23:36

Hi sir, I'm very new to Docker as well as Jenkins, your video helped me alot.
Till now everything is clear, but I'm a bit confused,
How can we actually deploy these Docker containers (which was included in the docker-compose stack)
automatically to dev or production server remotely.

like:
Transfering the code
running docker-compose up

and what if the docker-compose file also has bind volume mounts?

I'm very confused, how can I do these things :(

If possible please make a video on this, or suggest some resources from where I can learn.

Thank you so much sir :)

Ответить
Ravi Sharma
Ravi Sharma - 01.03.2022 17:07

Thanks Darin ! As I was asked to u in 2 weeks ago related this ....

Ответить