WD Community

Docker Daemon Update

Yeah, I was checking the script worked early to restart it… I’ve just reformatted the image that was mounted to /var/lib/docker/ and restarted the new docker.

Now it reads:
root@MyCloudPR4100 root # ls /var/lib/docker/
btrfs builder containers image network plugins swarm tmp trust volumes

But still getting the:
root@MyCloudPR4100 root # docker run hello-world
Unable to find image ‘hello-world:latest’ locally
WARN[2017-12-27T20:08:50.743455929Z] Could not get operating system name: Error opening /usr/lib/os-release: open /usr/lib/os-release: no such file or directory
latest: Pulling from library/hello-world
ca4f61b1923c: Pull complete
Digest: sha256:445b2fe9afea8b4aa0b2f27fe49dd6ad130dfe7a8fd0832be5de99625dad47cd
Status: Downloaded newer image for hello-world:latest
container_linux.go:265: starting container process caused “process_linux.go:368: container init caused "rootfs_linux.go:105: jailing process inside rootfs caused \"pivot_root invalid argument\""”
ERRO[0015] containerd: start container error="oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \“rootfs_linux.go:105: jailing process inside rootfs caused \\“pivot_root invalid argument\\”\”"
" id=667ef4f13bc29921b8e3e5e17d4b3bf68130bae9d65da7279fac0b8f64ef95e5
ERRO[2017-12-27T20:08:53.694099831Z] Handler for POST /v1.32/containers/667ef4f13bc29921b8e3e5e17d4b3bf68130bae9d65da7279fac0b8f64ef95e5/start returned error: oci runtime error: container_linux.go:265: starting container process caused “process_linux.go:368: container init caused "rootfs_linux.go:105: jailing process inside rootfs caused \"pivot_root invalid argument\""”

docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused “process_linux.go:368: container init caused "rootfs_linux.go:105: jailing process inside rootfs caused \"pivot_root invalid argument\""”.
ERRO[0002] error waiting for container: context canceled

Got it!

Just needed root@MyCloudPR4100 root # export DOCKER_RAMDISK=true

Thank you for your help!!

Any idea on how to make this update persistent on a restart?

I’ve also got a problem trying to make a service in docker… it appears that vxlan is missing from the kernel so it can’t make the sandbox (the image works find just on the 1 node, but it doesn’t work in a swarm/as a service)
I get the follow error:
"Err": "starting container failed: subnet sandbox join failed for \"172.31.0.0/16\": error creating vxlan interface: operation not supported",

Do you have any ideas how to go about adding vxlan?

I’d like to thank you guys for all the info, it helped me a lot creating my docker package.
Note that the btrfs volume is not necessary, you just need to use the cgroupfs mount scripts and get rid of the devicemapper.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.