# having trouble using docker on the sdcard

Source: https://forum.modalai.com/topic/598/having-trouble-using-docker-on-the-sdcard
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2021-12-03 23:49:58 UTC by tb_temp2 (ModalAI staff)
Replies: 5 · Views: 1749

## tb_temp2 (ModalAI staff) · 2021-12-03 23:49:58 UTC

Hello, 

I've recently flashed the newer `voxl_platform_3-3-0-0.5.0-a.tar.gz` onto a VOXL and then immediately attempted to move the docker support to the SD card following the instructions here:
https://docs.modalai.com/docker-on-voxl/#move-docker-image-from-data-to-mntsdcard

I know this worked out previously, perhaps with the 0.4.6 platform.
Now, after updating the `/etc/systemd/system/docker-daemon.service` file
(changing `/data` to `/mnt/sdcard`), the `voxl-configure-docker-support.sh` script no longer completes.

Specifically, it times out after a while with "Error response from daemon: could not find image: no such id: efc161607398".  Seems like it's hung up at the part of the voxl-configure-docker-support script trying to access the hw.tgz "hello world" example image from /usr/share/modalai.  I don't really need the example docker image, but I'm having trouble using docker on the sdcard at all.

Even after manually executing "systemctl enable docker-daemon" and
"systemctl start docker-daemon", when I attempt to "docker load" a new
image, I get an odd error `An error occurred trying to connect: Post ... docker.sock/v1.21/images/load: ` `write unix /var/run/docker.sock: write: broken pipe`

If I had to guess, I'd say something else related to docker needs to
know to look for data on the /mnt/sdcard as well now, but not sure
what...  thanks for any advice!

## Reply by tb_temp2 (ModalAI staff) · 2021-12-03 23:53:10 UTC

@JoeC as a work around, I reposted close to what you were trying to avoid this issue I need to fix!

## Reply by JoeC · 2021-12-07 03:44:14 UTC

Thanks!  Yes, this is the question.  Sorry about the trouble.

## Reply by modaltb (ModalAI staff) · 2021-12-07 16:32:58 UTC

Hi @JoeC, we're looking into this and will get back shortly.

## Reply by tom (ModalAI staff) · 2021-12-15 19:35:37 UTC

Hi @JoeC I was able to replicate the error on my setup. I have passed on this info to the team so they can take a look. Thanks for your patience on this!

## Reply by Eric Katzfey (ModalAI staff) · 2022-01-20 22:13:54 UTC (in reply to JoeC)

@JoeC Seems like it is an SD card issue. I was able to recreate the problem when using a SanDisk Extreme 32GB card. But when using a SanDisk Ultra 16GB card everything works fine.
