麒麟系统(arm)docker启动容器报错,OCI runtime create failed: container_linux.go:318: starting container process
12月 26 18:01:15 null0001 docker-runc[61636]: {"level":"error","msg":"container_linux.go:318: starting container process caused \"permission denied\"\n","time":"2024-12-26T18:01:15+08:00"}日志如下:大概意思是doc
具体报错信息如下:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:318: starting container process caused "permission denied": unknown
故障排查:
使用命令查看docker状态,和具体报错日志
sudo systemctl status docker
日志如下:大概意思是docker启动进程被占用了
{"level":"info","msg":"content read from /sys/fs/cgroup/cpu/docker/4a24eb7ad996499ff9dc1c8a0587c38db6f23a47bcb8e20303a0bc39bacb014a/cpu.stat: nr_periods 0\nnr_thr>
12月 26 18:01:15 null0001 docker-runc[61636]: {"level":"warning","msg":"parent process terminate error: os: process already finished","time":"2024-12-26T18:01:15+08:00"}
12月 26 18:01:15 null0001 docker-runc[61636]: {"level":"error","msg":"container_linux.go:318: starting container process caused \"permission denied\"\n","time":"2024-12-26T18:01:15+08:00"}
解决方案:
卸载Kylin Linux Advanced Server release V10 (Lance) 自带的Podman, 执行 yum remove podman 后,重新run即可正常运行
更多推荐




所有评论(0)