Change Docker directory


#1

Hi!
I hope you can help me on this.
I want to change the working dir of docker to the hard drive.
¿It’s possible? ¿How?
Docker works wery well on the default settings.
I already try to change
/storage/.kodi/addons/service.system.docker/config/docker.conf
and
/storage/.kodi/userdata/addon_data/service.system.docker/config/docker.conf
Docker recreates all the files in the new folder but when I try to install something, the following error shows:

Unable to find image 'robsharp/rpi-transmission:latest' locally
latest: Pulling from robsharp/rpi-transmission
ccd7c43e4d8e: Extracting 38.68 MB/38.68 MB
a3ed95caeb02: Download complete
abd5ae341612: Download complete
62ef6a8aa2da: Download complete
69229b36c0d5: Download complete
40c7cfaa1c2b: Download complete
885db9b1655f: Download complete
docker: failed to register layer: symlink ../df171d81c23b189e463199ff8a37543eb3e807cede28099e264f6db9707524f7/diff /var/media/Slice-HD/Docker/overlay2/l/FFPIBSZOXZ5ENUPWIT5C4W4BIQ: function not implemented.
See 'docker run --help'.

I can’t find info on google about the
docker: failed to register layer: symlink
error and now I don’t know what to do.

PS: English is not my native language, sorry for any errors


#2

You have Docker running on Slice’s RaspPi?


#3

Yes, it works fine, but in the internal storage


#4

I have also docker running on slice [with cm3]. As configuration I set up

Slice:~/.kodi/userdata/addon_data/service.system.docker/config # cat docker.conf
DOCKER_DAEMON_OPTS="–graph=/media/internal/other/slice/docker/_storage/“
DOCKER_STORAGE_OPTS=”–storage-driver=overlay2 --storage-opt overlay2.override_kernel_check=1"

and with docker info I have:
Server Version: 1.13.1
Docker Root Dir: /var/media/internal/other/slice/docker/_storage
[omitting the rest]