Category: Docker, yaml

In our company, we currently run all internal services on dockers, for example, Gitlab, YouTrack, and Jenkins. I assume that you already know Docker, Jenkins, and Ubuntu (or other Linux), because we use them as an example.

Now we need to use that image to run our container.

Now inside the container, when we’ll run docker ps command, we should see all containers running on our host instead of containers running on our jenkins container.

Next, we adjust our Dockerfile, to make sure that the docker group has the same id on host and container and that jenkins user is in that group.

Related Articles