[Seek Help] unable to find "cpu" in controller set。大佬们帮我解决一下这个问题
Tofloor
poster avatar
dongfang123456
deepin
2023-08-22 08:25
Author

yz@cyz-PC:/opt/北塘西游H5/RUN$ cd /opt/北塘西游H5/RUN && ./创建间容器
a560e43f8433efced820e9898f1cba751e6de22d2d464b263e6d9fcefb7561cf
docker: Error response from daemon: unable to find "cpu" in controller set: unknown.

如何解决这个问题啊?需要修改docker 版本吗?如果需要修改,怎么修改?

多谢!

Reply Favorite View the author
All Replies
dongfang123456
deepin
2023-08-22 13:59
#1

难道是docker的版本问题导致的错误?

Reply View the author
云的眼泪
deepin
2023-08-22 16:10
#2

名字太长了?

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2023-08-22 16:55
#3

取消路径中的汉字试试

Reply View the author
阿尼樱奈奈
Moderator
2023-08-22 18:48
#4

路径改成纯英文数字?

Reply View the author
Red54
deepin
2023-09-13 04:16
#5

你用的内核应该是深度5.18内核(linux-image-deepin-hwe-amd64),然后docker用的是18.09版(docker.io)。

docker 18.09版(docker.io)只能搭配深度5.15内核(linux-image-deepin-amd64)或者Debian内核(linux-image-amd64)使用,你用的如果是深度5.18内核(linux-image-deepin-hwe-amd64)的话,要使用docker 19.03版(docker-ce)。

Reply View the author
dongfang123456
deepin
2023-09-13 06:01
#6

我现在在linux265上学习linux,发现要记很多单词,很多很多,慢慢来吧。不着急。每天记点东西,防止变成傻瓜。

Reply View the author
xnatural
deepin
2024-02-22 11:16
#7

我也遇到了这个问题了

sudo apt remove docker.io

sudo apt install docker-ce

我是 这样就解决了

Reply View the author
欢乐马
deepin
2024-05-04 19:16
#8
xnatural

我也遇到了这个问题了

sudo apt remove docker.io

sudo apt install docker-ce

我是 这样就解决了

嗯嗯,我也是这样解决的

Reply View the author
欢乐马
deepin
2024-05-04 19:17
#9
Red54

你用的内核应该是深度5.18内核(linux-image-deepin-hwe-amd64),然后docker用的是18.09版(docker.io)。

docker 18.09版(docker.io)只能搭配深度5.15内核(linux-image-deepin-amd64)或者Debian内核(linux-image-amd64)使用,你用的如果是深度5.18内核(linux-image-deepin-hwe-amd64)的话,要使用docker 19.03版(docker-ce)。

可以了,多谢大佬

Reply View the author