Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Docker daemon fails to start on voxl

Docker daemon fails to start on voxl

Scheduled Pinned Locked Moved Software Development
40 Posts 11 Posters 21.8k Views 5 Watching
  • 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.
  • K kiprock

    @Chad-Sweet Thanks for the fast response!

    yocto:~# voxl-configure-docker-support.sh
    Stopping original docker service
    Enabling our own services docker-start & docker-prepare
    starting docker-start.service
    loading hello-world docker image
    Cannot connect to the Docker daemon. Is the docker daemon running on this host?
    yocto:~#  systemctl status docker
    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
       Active: inactive (dead)
         Docs: http://docs.docker.com
    May 13 15:46:33 apq8096 systemd[1]: Stopped Docker Application Container Engine.
    
    yocto:~#
    
    yocto:~#  systemctl status docker
    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
       Active: inactive (dead)
         Docs: http://docs.docker.com
    
    May 13 15:46:33 apq8096 systemd[1]: Stopped Docker Application Container Engine.
    yocto:~#  systemctl start docker
    yocto:~#  systemctl status docker
    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Thu 2021-05-13 15:48:03 UTC; 2s ago
         Docs: http://docs.docker.com
      Process: 3678 ExecStart=/usr/bin/docker daemon -H fd:// --raw-logs (code=exited, status=2)
     Main PID: 3678 (code=exited, status=2)
    
    May 13 15:48:03 apq8096 systemd[1]: Started Docker Application Container Engine.
    May 13 15:48:03 apq8096 docker[3678]: flag provided but not defined: --raw-logs
    May 13 15:48:03 apq8096 docker[3678]: See '/usr/bin/docker daemon --help'.
    May 13 15:48:03 apq8096 systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
    May 13 15:48:03 apq8096 systemd[1]: docker.service: Unit entered failed state.
    May 13 15:48:03 apq8096 systemd[1]: docker.service: Failed with result 'exit-code'.
    yocto:~# docker images
    An error occurred trying to connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.21/images/json: read unix @->/var/run/docker.sock: read: connection reset by peer
    
    S Offline
    S Offline
    shlee853
    Regular
    wrote on last edited by
    #17

    @kiprock Hi I have a exactly same issue.

    I flashed image and reset factory configuration on my VOXL, but, It has still issue.

    Did you resolve this problem?

    Thanks,

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kiprock
      Contributor
      wrote on last edited by
      #18

      @Eric-Katzfey if you cannot start docker images, you can try the command above to clear them. Good luck.

      Eric KatzfeyE S 2 Replies Last reply
      0
      • K kiprock

        @Eric-Katzfey if you cannot start docker images, you can try the command above to clear them. Good luck.

        Eric KatzfeyE Offline
        Eric KatzfeyE Offline
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #19

        Thanks, but I think you meant to ping @shlee853

        1 Reply Last reply
        0
        • K kiprock

          @Eric-Katzfey if you cannot start docker images, you can try the command above to clear them. Good luck.

          S Offline
          S Offline
          shlee853
          Regular
          wrote on last edited by
          #20

          @kiprock thank you for your reply
          I’ll try it

          S 1 Reply Last reply
          0
          • S shlee853

            @kiprock thank you for your reply
            I’ll try it

            S Offline
            S Offline
            shlee853
            Regular
            wrote on last edited by
            #21

            @shlee853

            Great!

            I resolved this problem as you mentioned.

            yocto:/$ rm /data/network/files/local-kv.db
            yocto:/$ voxl-configure-docker-support.sh 
            Stopping original docker service
            Enabling our own services docker-start & docker-prepare
            starting docker-start.service
            loading hello-world docker image
            successfully loaded hello-world
            starting docker-prepare service
            Created symlink from /etc/systemd/system/default.target.wants/docker-autorun.service to /etc/systemd/system/docker-autorun.service.
            
            done configuring voxl-docker-support
            
            1 Reply Last reply
            2
            • K kiprock
              rm /data/network/files/local-kv.db
              

              did the trick. Thanks for providing that missing piece of data!

              LucasWL Offline
              LucasWL Offline
              LucasW
              wrote on last edited by
              #22

              @kiprock Thank you for this, that also solved the issue in my case.

              To be a little more cautious, I simply renamed the existing file, which forced the generation of a new one when running the configuration script voxl-configure-docker-support.sh:

              voxl:/data/network/files$ mv local-kv.db local-kv_DISABLED.db
              
              1 Reply Last reply
              0
              • modaltbM modaltb

                What do you see after running voxl-configure-docker.sh ?

                Should be something like:

                yocto:/# voxl-configure-docker-support.sh
                Stopping original docker service
                Enabling our own services docker-start & docker-prepare
                starting docker-start.service
                loading hello-world docker image
                successfully loaded hello-world
                starting docker-prepare service
                
                done configuring voxl-docker-support
                
                José QuintanillaJ Offline
                José QuintanillaJ Offline
                José Quintanilla
                Regular
                wrote on last edited by
                #23

                @modaltb I have a problem, after I write that line, the drone display a message that says: voxl:/$ voxl-configure-docker-suport.sh
                bash: voxl-configure-docker-suport.sh: command not found
                voxl:/$

                1 Reply Last reply
                0
                • tomT Offline
                  tomT Offline
                  tom
                  admin
                  wrote on last edited by
                  #24

                  @José-Quintanilla Looks like you spelled it wrong

                  1 Reply Last reply
                  0
                  • tomT Offline
                    tomT Offline
                    tom
                    admin
                    wrote on last edited by
                    #25

                    @José-Quintanilla You can use [TAB] after you start writing a command to auto-fill

                    José QuintanillaJ 2 Replies Last reply
                    0
                    • tomT tom

                      @José-Quintanilla You can use [TAB] after you start writing a command to auto-fill

                      José QuintanillaJ Offline
                      José QuintanillaJ Offline
                      José Quintanilla
                      Regular
                      wrote on last edited by
                      #26

                      @tom I think it worked, thanks

                      1 Reply Last reply
                      0
                      • tomT tom

                        @José-Quintanilla You can use [TAB] after you start writing a command to auto-fill

                        José QuintanillaJ Offline
                        José QuintanillaJ Offline
                        José Quintanilla
                        Regular
                        wrote on last edited by José Quintanilla
                        #27

                        @tom It wasn't that, because I need that especific line on my VOXL to work, so I can use properly the sdk

                        1 Reply Last reply
                        0
                        • tomT Offline
                          tomT Offline
                          tom
                          admin
                          wrote on last edited by
                          #28

                          @José-Quintanilla What is not working? Did you run voxl-configure-docker-support.sh?

                          José QuintanillaJ 1 Reply Last reply
                          0
                          • tomT tom

                            @José-Quintanilla What is not working? Did you run voxl-configure-docker-support.sh?

                            José QuintanillaJ Offline
                            José QuintanillaJ Offline
                            José Quintanilla
                            Regular
                            wrote on last edited by
                            #29

                            @tom That's the line that doesnt let me run, my done say: voxl-configure-docker-support.sh: command not found

                            1 Reply Last reply
                            0
                            • tomT Offline
                              tomT Offline
                              tom
                              admin
                              wrote on last edited by
                              #30

                              @José-Quintanilla What release do you have installed, what does voxl-version say?

                              José QuintanillaJ 1 Reply Last reply
                              0
                              • tomT tom

                                @José-Quintanilla What release do you have installed, what does voxl-version say?

                                José QuintanillaJ Offline
                                José QuintanillaJ Offline
                                José Quintanilla
                                Regular
                                wrote on last edited by
                                #31

                                @tom If I recall is the 0.9 version

                                1 Reply Last reply
                                0
                                • tomT Offline
                                  tomT Offline
                                  tom
                                  admin
                                  wrote on last edited by
                                  #32

                                  @José-Quintanilla When you get a chance post the output of voxl-version. Also what hardware are you on?

                                  José QuintanillaJ 2 Replies Last reply
                                  0
                                  • tomT tom

                                    @José-Quintanilla When you get a chance post the output of voxl-version. Also what hardware are you on?

                                    José QuintanillaJ Offline
                                    José QuintanillaJ Offline
                                    José Quintanilla
                                    Regular
                                    wrote on last edited by
                                    #33

                                    @tom I confirm that is the voxl 0.9 version on a m500 hardware im using a voxl flight

                                    1 Reply Last reply
                                    0
                                    • tomT Offline
                                      tomT Offline
                                      tom
                                      admin
                                      wrote on last edited by
                                      #34

                                      @José-Quintanilla I was asking because that command also lists installed packages, try without the .sh: voxl-configure-docker-support

                                      José QuintanillaJ 1 Reply Last reply
                                      0
                                      • tomT tom

                                        @José-Quintanilla When you get a chance post the output of voxl-version. Also what hardware are you on?

                                        José QuintanillaJ Offline
                                        José QuintanillaJ Offline
                                        José Quintanilla
                                        Regular
                                        wrote on last edited by
                                        #35

                                        @tom voxl:/$ voxl-version

                                        system-image: 4.0.0
                                        kernel: #1 SMP PREEMPT Thu Oct 13 17:57:05 UTC 2022 3.18.71-perf

                                        hw version: VOXL

                                        voxl-suite: 0.9.4

                                        Packages:
                                        Repo: http://voxl-packages.modalai.com/dists/apq8096/sdk-0.9/binary-arm64/
                                        Last Updated: stat: cannot stat '/var/lib/opkg/lists/modalai': No such file or directory
                                        stat: cannot stat '/var/lib/opkg/lists/modalai': No such file or directory
                                        WARNING: repo file has changed since last update,
                                        packages may have originated from a different repo
                                        List:
                                        apq8096-dfs-server 0.3.1
                                        apq8096-imu-server 1.0.3
                                        apq8096-libpng 1.6.38-1
                                        apq8096-system-tweaks 0.1.3
                                        apq8096-tflite 2.8.3-1
                                        libapq8096-io 0.6.0
                                        libmodal-cv 0.2.3
                                        libmodal-exposure 0.0.7
                                        libmodal-journal 0.2.1
                                        libmodal-json 0.4.3
                                        libmodal-pipe 2.6.0
                                        libvoxl-cci-direct 0.1.5
                                        libvoxl-cutils 0.1.1
                                        voxl-camera-calibration 0.2.3
                                        voxl-camera-server 1.3.5
                                        voxl-cpu-monitor 0.3.0
                                        voxl-docker-support 1.2.4
                                        voxl-gphoto2-server 0.0.10
                                        voxl-jpeg-turbo 2.1.3-4
                                        voxl-libgphoto2 0.0.4
                                        voxl-libuvc 1.0.7
                                        voxl-logger 0.3.4
                                        voxl-mavlink 0.1.0
                                        voxl-mavlink-server 0.2.0
                                        voxl-modem 0.16.1
                                        voxl-mongoose 7.7.0-1
                                        voxl-mpa-to-ros 0.3.6
                                        voxl-mpa-tools 0.7.6
                                        voxl-opencv 4.5.5-1
                                        voxl-portal 0.4.2
                                        voxl-qvio-server 0.8.2
                                        voxl-streamer 0.4.1
                                        voxl-suite 0.9.4
                                        voxl-system-image 4.0-r0
                                        voxl-tag-detector 0.0.4
                                        voxl-tflite-server 0.3.1
                                        voxl-utils 1.2.2
                                        voxl-uvc-server 0.1.3
                                        voxl-vision-px4 1.4.0
                                        voxl-vpn 0.0.6

                                        voxl:/$

                                        1 Reply Last reply
                                        0
                                        • tomT tom

                                          @José-Quintanilla I was asking because that command also lists installed packages, try without the .sh: voxl-configure-docker-support

                                          José QuintanillaJ Offline
                                          José QuintanillaJ Offline
                                          José Quintanilla
                                          Regular
                                          wrote on last edited by
                                          #36

                                          @tom I think I need to use the command with the .sh, I'm following this guide https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python

                                          and the command you want me to do is referring to this guide: https://docs.modalai.com/docker-on-voxl/

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups