Docker 这是咋了

2021-03-20 11:50:15 +08:00
 jonathon523

如题,无论什么镜像都要报错

root@node:/# docker run -itd ubuntu

Unable to find image 'ubuntu:latest' locally

latest: Pulling from library/ubuntu

da7391352a9b: Pull complete

14428a6d4bcd: Pull complete

2c2d948710f2: Pull complete

Digest: sha256:c95a8e48bf88e9849f3e0f723d9f49fa12c5a00cfc6e60d2bc99d87555295e4c

Status: Downloaded newer image for ubuntu:latest

docker: Error response from daemon: error creating aufs mount to /var/lib/docker/aufs/mnt/72cf1a800724b078350f18d48450b946d894535915e72392a38c632872ca2799-init: mount target=/var/lib/docker/aufs/mnt/72cf1a800724b078350f18d48450b946d894535915e72392a38c632872ca2799-init data=br:/var/lib/docker/aufs/diff/72cf1a800724b078350f18d48450b946d894535915e72392a38c632872ca2799-init=rw:/var/lib/docker/aufs/diff/74a4d81ccfe944c03f230be1e11f1e42f32a398f5766e21f17440b191787d953=ro+wh:/var/lib/docker/aufs/diff/d18947dd9ff6effb2603dd048071fbc3179d32996af5dfe5671124e39ccadb3f=ro+wh:/var/lib/docker/aufs/diff/ae23946aea69f7b881faa5a711e39bc4f63b1ce3efc11fc153d48840801130dd=ro+wh,dio,xino=/dev/shm/aufs.xino: invalid argument. See 'docker run --help'.

1989 次点击
所在节点    Docker
2 条回复
domoco
2021-03-20 15:56:35 +08:00
不知道你什么环境,可参考:
It works after doing this :
go to Docker-for-mac preferences > Daemon > Advanced.
Enter

{
"storage-driver" : "aufs"
}

来源: https://github.com/docker/for-mac/issues/1594#issuecomment-299698273
Usaki
2021-03-22 08:59:45 +08:00
看下 docker log

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/763415

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX