Docker daemon fails to start on voxl
-
I had a battery go pretty low and the system crashed while running mavros in docker last night, after reboot, docker deamon is not responding and I cannot see any images.
-
@kiprock I would reflash the system, setup your IP connection, configure Docker and just verify that it works as expected.
-
just looking at the logs, the docker deamon fails here:
level=fatal msg="Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has active endpoints"
Most forums suggest removing the docker network folder: rm -r /var/lib/docker/network
I did this but still having issues. Just curious if the modalAI setup stores docker files somewhere else?
-
@kiprock Everything is stored on /data. But again, I would reflash and start over just to verify Docker operation.
-
rm /data/network/files/local-kv.db
did the trick. Thanks for providing that missing piece of data!
-
@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,
-
@Eric-Katzfey if you cannot start docker images, you can try the command above to clear them. Good luck.
-
Thanks, but I think you meant to ping @shlee853
-
@kiprock thank you for your reply
I’ll try it -
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
-
@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
-
@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:/$ -
@José-Quintanilla Looks like you spelled it wrong
-
@José-Quintanilla You can use [TAB] after you start writing a command to auto-fill
-
@tom I think it worked, thanks
-
@tom It wasn't that, because I need that especific line on my VOXL to work, so I can use properly the sdk
-
@José-Quintanilla What is not working? Did you run
voxl-configure-docker-support.sh
? -
@tom That's the line that doesnt let me run, my done say: voxl-configure-docker-support.sh: command not found
-
@José-Quintanilla What release do you have installed, what does
voxl-version
say? -
@tom If I recall is the 0.9 version