重啟docker服務後,容器啟動報錯:Error response from daemon: id already in use

Tarzen發表於2024-06-20

解決

找到容器程序,然後幹掉他,重新啟動容器

root@UGREEN-3822:~# ps -ef |grep 7e0d91c3e851
root      3766     1  0 00:21 ?        00:00:00 /usr/bin/containerd-shim-runc-v2 -namespace moby -id 7e0d91c3e8513c706244b543d2e563850972fdb41ec1dbf8cd6c375d1fef3ce8 -address /var/run/docker/containerd/containerd.sock
root      3882 15512  0 00:32 pts/1    00:00:00 grep 7e0d91c3e851
root@UGREEN-3822:~# kill -9 3766
root@UGREEN-3822:~# docker start 7e0d91c3e851
7e0d91c3e851

相關文章