V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jonathon523
V2EX  ›  Docker

Docker 这是咋了

  •  
  •   jonathon523 ·
    Jonathan523 · 2021-03-20 11:50:15 +08:00 · 2000 次点击
    这是一个创建于 1346 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    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'.

    2 条回复    2021-03-22 08:59:45 +08:00
    domoco
        1
    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
        2
    Usaki  
       2021-03-22 08:59:45 +08:00 via Android
    看下 docker log
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1199 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 18:24 · PVG 02:24 · LAX 10:24 · JFK 13:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.