Resolved an error while executing the docker daemon command
- 2020-05-24 06:32:15
- OfStack
Recently, I met a problem in my work. I started to execute it at 1
docker daemon
There will always be an error when the command results in the process stop, according to the online method in
/etc/fstab
1 line has been added to the file
none /sys/fs/cgroup cgroup defaults 0 0
At this moment
Docker daemon
You can get up, but you have a new problem -- execution
docker run
Command "no left space on device" error;
And then later on
apt-get update&&apt-get upgrade
Upgraded the package, but found that it still failed to solve the problem;
Finally, the
/etc/fstab
The 1 row added to
none /sys/fs/cgroup cgroup defaults 0 0
Block off, and then restart the machine, found that the problem was solved, before the implementation
docker daemon
Command errors are gone;
The problem should be solved by upgrading the package
conclusion
The above is the whole content of this article, I hope the content of this article to your study or work can bring 1 definite help, if you have questions you can leave a message to communicate.