Shifting docker daemon and docker support to SD card so that I can load high memory images on it
-
Is there a specific way to shift the docker daemon and the docker support from /data folder on the drone to external sd card. The current storage in /data is only 12 Gigabytes and I wanted to load a 10GB image tarball. If there are some forum posts or official documentation. Please guide me through it
-
-
@Eric-Katzfey Thanks for sharing the link. I had a question about the existing docker images on /data. Do I need to archive and remove the docker images before following the instructions given in the documentation?
-
@Darshit-Desai I'm not sure but I think you can just leave them there and they will be ignored when using the new location.
-
@Eric-Katzfey It seems like the below command implicitly deletes all images.
I will archive those images before removing it.
Delete the directories that docker uses in the data partition:cd /data; rm -rf containers linkgraph.db overlay tmp volumes graph network repositories-overlay trust
[NOTE] The previous commands will delete any images that were previously available.
Thanks
Darshit -
@Eric-Katzfey I was able to run to the point where I remove the docker support from /data folder but when I try to do voxl-configure-docker-support.sh it doesn't work. Any ideas what might be wrong here?
voxl:/mnt/sdcard$ cd /data voxl:/data$ voxl-configure-docker-support.sh -bash: voxl-configure-docker-support.sh: command not found voxl:/data$ cd voxl:~$ voxl-configure-docker-support.sh -bash: voxl-configure-docker-support.sh: command not found voxl:~$
-
@Darshit-Desai Try
voxl-configure-docker-support