Tag Archives: volume

How to mount a Windows share inside a Docker container

Let’s assume that you had a windows share and you needed to be able to access that share from within one of your containers, here are the steps that you need to follow: First of all, create a docker volume … Continue reading

Posted in docker, Windows | Tagged , , | Leave a comment

Change default storage location of docker containers on Ubuntu 18.04 and 18.10

This was tested on Docker version 18.09.4, build d14af54266, it includes ALL docker data. Just edit/create a file inside /etc/docker named daemon.json and add the following: { “data-root”: “/new_location”} then simply restart docker: sudo service docker restart Source: https://docs.docker.com/engine/reference/commandline/dockerd/

Posted in docker | Tagged , , , , | Leave a comment