docker安装完成后启动容器报错/usr/bin/docker-current: Error response from daemon

在安装完docker以后,当你使用 docker run 创建一个容器时报错,

报错信息类似如下:文章源自堕落的鱼-https://www.duoluodeyu.com/2740.html

container_linux.go:235: starting container process caused “process_linux.go:258: applying cgroup configuration for process caused “Cannot set property TasksAccounting, or unknown property.””/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused "Cannot set property TasksAccounting, or unknown prop文章源自堕落的鱼-https://www.duoluodeyu.com/2740.html

解决办法:更新下yum,具体指令如下:文章源自堕落的鱼-https://www.duoluodeyu.com/2740.html

yum update文章源自堕落的鱼-https://www.duoluodeyu.com/2740.html 文章源自堕落的鱼-https://www.duoluodeyu.com/2740.html

 
Debian 12 安装 Docker 详细步骤 系统教程

Debian 12 安装 Docker 详细步骤

  Docker 作为一款开源的应用容器引擎,极大地便利了开发与运维流程。它允许开发者将应用程序及其依赖项打包至一个可移植的容器中,随后轻松部署到任意主流的 Linux 系统上,达成虚拟化效果。这种方...
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证