Run Docker inside Docker Ubuntu Images
The story begin when I want to install docker inside mltooling/ml-workspace-minimal
images, which is based on ubuntu 18.
so here how to run docker inside docker ubuntu images
docker run -d --name mltool \
-p 8080:8080 \
-v /root:/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-e AUTHENTICATE_VIA_JUPYTER=mypassword \
-e INCLUDE_TUTORIALS=false \
mltooling/ml-workspace-minimal:0.11.0
TL;DR: adding
-v /var/run/docker.sock:/var/run/docker.sock
when run container allow you to run docker inside docker container.