Create container docker run -dt --network host --name mycontainer ubuntu:18.04 docker exec -it mycontainer /bin/bash Mount volumes docker run -dt --network host --name mycontainer -v "$PWD":/home mycontainer-2