问题与解决

docker镜像内部安装mysql;启动的时候直接卡死

http://blog.itpub.net/26736162/viewspace-2725193/

docker启动后台进程

http://blog.itpub.net/26736162/viewspace-2725193/

 

docker rm xxx出现没权限

Error response from daemon: container a6661d6a7df603ff47514acb492fc81cb61c707dc61b27eaf43fd29e0af0b4b2: driver "overlay2" failed to remove root filesystem: unlinkat /var/lib/docker/overlay2/bba8e93d043e03dd2090599b6a7681e3db9e6e1d637dd58ed09cb33411dc4db4/diff/root/.migrate/0008_job_manage_20200824-1000_V3.0.8.3_mysql.sql: operation not permitted

chattr -i /var/lib/docker/overlay2/bba8e93d043e03dd2090599b6a7681e3db9e6e1d637dd58ed09cb33411dc4db4/diff/root/.migrate/*

docker rm xxx 成功

posted @ 2021-03-11 15:54  benny1  阅读(281)  评论(0编辑  收藏  举报