Since we already started the Docker service once (see above installation), Docker will have created it's default storage location in /var/lib/docker. However, Docker will re-create a new storage wherever you point the -g argument to, so after we have added /home/e-smith/files/docker to the Docker configuration file and restarted the Docker service, we can safely remove /var/lib/docker. This also explains why it might take a while for the Docker service to (re)start while it creates a new storage location. | Since we already started the Docker service once (see above installation), Docker will have created it's default storage location in /var/lib/docker. However, Docker will re-create a new storage wherever you point the -g argument to, so after we have added /home/e-smith/files/docker to the Docker configuration file and restarted the Docker service, we can safely remove /var/lib/docker. This also explains why it might take a while for the Docker service to (re)start while it creates a new storage location. |