N
N
Naozumi2k2018-04-15 12:46:36
Python
Naozumi2k, 2018-04-15 12:46:36

Raspbian hangs when rebooting a system running a Docker container, why?

Hi guys.
I have a python script in a Docker container that works with GPIO on a Raspberry Pi Zero
. I start the container like this:

docker run -d --privileged surveillance surveillance-bot

Everything works fine, but when I reboot the system with the reboot command, the system hangs.
What could be the reason? In theory, docker should stop the container, right?
Hangs every time on different lines after unmounting partitions.
5ad31d99a2f13742187976.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2018-04-15
@shurshur

I advise you to try to stop the entire docker and make sure that the restart works fine without it. If not, then perhaps the docker is not to blame.
In general, docker has problems with aufs and devicemapper, but overlayfs2 is used here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question