启动docker容器时的Error response from daemon: devmapper: Error mounting: invalid argument.



  • 启动容器命令:docker start d21a

    报错

    Error response from daemon: devmapper: Error mounting '/dev/mapper/docker-253:3-537354454-cdb4e31a34f55981f2cabe775700719ecc20bfdc6b85c1b26245b41026daa8fe' on '/var/lib/docker/devicemapper/mnt/cdb4e31a34f55981f2cabe775700719ecc20bfdc6b85c1b26245b41026daa8fe': invalid argument
    

    解决方式:
    /var/lib/docker/containers/d21a*目录中找到config.v2.json,然后vi config.v2.json
    找到MountLabelProcessLabel个键,并把其对应的引号中的内容清空即可


Log in to reply