Hi, I installed Docker CE on my machine after upgrading my OS. Before starting the daemon, I copied over the docker folder from my backup to the new disk. Previously, docker data was in
/var/lib/docker, but my new disk is mounted in
/srv, and moved the data to
/srv/docker. The backup was on disk with the same permissions as the original, so copied all the docker folder with
Containers that don’t have volumes work fine, and I’m even able to see past container executions with
docker ps -a. However, when I try to start a container with a volume, I get this error:
Error response from daemon: error evaluating symlinks from mount source "/var/lib/docker/volumes/esdata/_data": lstat /var/lib/docker: no such file or directory Error: failed to start containers: admiring_yalow
How can I fix this?
Here’s some information about my system:
$ docker version Client: Version: 18.09.0 API version: 1.39 Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:48:47 2018 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 18.09.0 API version: 1.39 (minimum version 1.12) Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:19:08 2018 OS/Arch: linux/amd64 Experimental: false
OS: Fedora 29 x64
$ uname -a Linux telperion 4.19.4-300.fc29.x86_64 #1 SMP Fri Nov 23 13:03:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Let me know if you need more information.