-
Notifications
You must be signed in to change notification settings - Fork 61
Docker
Docker allows you to run almost anything on your My Cloud NAS. Usually you'll use it over the command line, but for basic usage you may get around with the Portainer web app.
TODO.
OS3 ships with an old version of Docker. The package on wdcommunity.com disables the old docker and links to the new binaries instead.
The docker root contains data from docker containers, volumes, etc ...
On OS3, the docker root is located at /var/lib/docker
which is a symlink to /shares/Volume_1/Nas_Prog/_docker
. This is persistent storage, so you won't lose data here on a reboot.
You may want to delete (and recreate) this directory to get a clean slate.
For ARM based installations we made a custom build that doesn't depend on the seccomp
kernel module.
Some containers are incompatible with the 64k kernel page size used on the My Cloud OS.
Here's a list with containers that don't work for ARM (and replacements where possible)
- redis/armv7
- mysql/armv7
- mariadb/armv7
The Docker package here ships with Portainer, a web service to manage your docker environment. It runs on port 9000, which is also used by Twonky MediaServer... so make sure you disable DLNA before installing Docker.
If it fails to run, please make a github ticket and provide output of the following commands:
ls /shares/Volume_1/Nas_Prog/
ls -l /var/lib/docker
docker ps
netstat -tulpn | grep 9000
To update Portainer, see here.
When you want to completely erase the changes made by this package, uninstall docker via the apps tab in the web UI. Then use SSH (e.g. with winscp) to remove the docker root.
Requires extra kernel module. See wd community forum.