• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
    208
    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.
    • D
      Darshit Desai
      last edited by 10 May 2023, 03:15

      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

      E 1 Reply Last reply 10 May 2023, 14:51 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Darshit Desai
        last edited by 10 May 2023, 14:51

        @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
        • D
          Darshit Desai
          last edited by 10 May 2023, 15:17

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

          E 1 Reply Last reply 10 May 2023, 15:27 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @Darshit Desai
            last edited by 10 May 2023, 15:27

            @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
            • D
              Darshit Desai
              last edited by 10 May 2023, 16:20

              @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
              • D
                Darshit Desai
                last edited by 10 May 2023, 16:44

                @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
                • T
                  tom admin
                  last edited by 10 May 2023, 17:06

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

                  1 Reply Last reply Reply Quote 0
                  1 out of 7
                  • First post
                    1/7
                    Last post
                  Powered by NodeBB | Contributors