32

We have three tags related to running docker in docker. (This is sometimes abbreviated to 'dind.') We should combine them into a single tag:

I think is the most clear tag out all of these, so the other two tags should point to it.

Thoughts?

3
  • 2
    why isn't it just docker? Commented Jun 19, 2021 at 23:30
  • 21
    Getting docker to properly run inside of docker is a particularly tricky situation for developers, and the issues you have running in that fashion are distinct from the ones you have just running in docker regularly. It makes sense to have a dedicated tag. It'll never be particularly large of a tag, but as people move to containerized development environments I think it'll become more and more common to see people having questions about it. Commented Jun 20, 2021 at 0:23
  • 3
    It's analogous to nested virtualization. Commented Jun 20, 2021 at 1:22

2 Answers 2

25

I concur that those are three similarly related tags and that docker-in-docker is the clearest.

0

I'm not sure I agree that all three tags should point to the same.

The docker-in-docker tag could also be relevant to people attempting to access the Docker daemon or other services within a container without actually using dind, for example questions on using this image, which is not the same as dind.

6
  • 3
    Are you saying that dind is the name of a specific tool, so some people might be running Docker-in-Docker, but not using that specific tool named dind?
    – Cody Gray Mod
    Commented Jun 20, 2021 at 13:46
  • @CodyGray actually, i think dind represents the image Commented Jun 20, 2021 at 21:39
  • 2
    but "this image" is the same as dind. Commented Jun 21, 2021 at 0:42
  • 1
    I may be mistaken here, but if you take a look at the tags for that image, the same image has got variants with and without dind in the tag name. This is what made me think that docker-in-docker was not the same as dind.
    – Dakshin
    Commented Jun 21, 2021 at 5:56
  • 2
    I understand "Docker in Docker" (or, for short, "DinD") to be a technical term that literally means running a second Docker daemon inside a container. Even though it's occasionally referred to as such, bind-mounting the host's Docker socket is not DinD.
    – David Maze
    Commented Jun 21, 2021 at 13:25
  • @Dakshin The dind image has a wrapper script designed to set up some mountpoints. See the Dockerfile and wrapper script. It also sets an environment variable which disables apparmor.
    – Nick ODell
    Commented Jun 21, 2021 at 16:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .