having trouble using docker on the sdcard



  • 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!



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



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


  • Dev Team

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


  • Dev Team

    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!


  • Dev Team

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


Log in to reply