Skip to content

Instantly share code, notes, and snippets.

@aidin-foroughi
Last active September 29, 2023 00:20
Show Gist options
  • Select an option

  • Save aidin-foroughi/4db3a83d8665ea6f70e992a0f7c3b3e9 to your computer and use it in GitHub Desktop.

Select an option

Save aidin-foroughi/4db3a83d8665ea6f70e992a0f7c3b3e9 to your computer and use it in GitHub Desktop.
docker in docker

Some tips on docker in docker

mount /var/run.docker.sock:/var/run/docker.sock

in windows ///var/run.docker.sock:/var/run/docker.sock

learn about privileged mode

learn about the Docker Socket Proxy

learn about issues with binding windows paths to the docker in docker

You need to docker compose from the WSL, and mount the volume with linux path, as in /mnt/c/path/to/folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment