Docker - mkdir read-only file system

后端 未结 2 2320
被撕碎了的回忆
被撕碎了的回忆 2020-12-28 14:36

After freshly installing Ubuntu 18 I am receiving the following error when trying to launch a docker container that has a bind to a LVM (ext4) partition:

mkd         


        
2条回答
  •  误落风尘
    2020-12-28 14:53

    I had same issue, but removed docker from snap and reinstall on following the official docker steps.

    Remove docker from snap

    snap remove docker
    

    then remove the docker directory, and old version

    rm -R /var/lib/docker
    
    sudo apt-get remove docker docker-engine docker.io
    

    install official docker: https://docs.docker.com/install/linux/docker-ce/ubuntu/

    I hope this help for you!

提交回复
热议问题