# Shifting docker daemon and docker support to SD card so that I can load high memory images on it

Source: https://forum.modalai.com/topic/2144/shifting-docker-daemon-and-docker-support-to-sd-card-so-that-i-can-load-high-memory-images-on-it
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-05-10 03:15:35 UTC by Darshit Desai
Replies: 6 · Views: 533

## Darshit Desai · 2023-05-10 03:15:35 UTC

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

## Reply by Eric Katzfey (ModalAI staff) · 2023-05-10 14:51:55 UTC

@Darshit-Desai Does this help: https://docs.modalai.com/docker-on-voxl/#move-docker-image-from-data-to-mntsdcard?

## Reply by Darshit Desai · 2023-05-10 15:17:01 UTC

@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?

## Reply by Eric Katzfey (ModalAI staff) · 2023-05-10 15:27:56 UTC (in reply to Darshit Desai)

@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.

## Reply by Darshit Desai · 2023-05-10 16:20:30 UTC

@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

## Reply by Darshit Desai · 2023-05-10 16:44:57 UTC

@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:~$
```

## Reply by tom (ModalAI staff) · 2023-05-10 17:06:33 UTC

@Darshit-Desai Try `voxl-configure-docker-support`
