ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

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

    Ask your questions right here!
    3
    7
    159
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Darshit DesaiD
      Darshit Desai
      last edited by

      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 KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Darshit Desai
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • Darshit DesaiD
          Darshit Desai
          last edited by

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

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @Darshit Desai
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • Darshit DesaiD
              Darshit Desai
              last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • Darshit DesaiD
                Darshit Desai
                last edited by

                @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:~$
                
                1 Reply Last reply Reply Quote 0
                • tomT
                  tom admin
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors