Am I trying to connect to a TLS-enabled daemon without TLS?

前端 未结 20 2380
暗喜
暗喜 2020-11-28 17:56

I\'m trying to learn about Docker, but I keep getting cryptic (to me) error messages.

Possibly the simplest example of this is trying to print the version of Docker

20条回答
  •  青春惊慌失措
    2020-11-28 18:40

    Everything that you need to run Docker on Linux Ubuntu/Mint:

    sudo apt-get -y install lxc
    sudo gpasswd -a ${USER} docker
    newgrp docker
    sudo service docker restart
    

    Optionally, you may need to install two additional dependencies if the above doesn't work:

    sudo apt-get -y install apparmor cgroup-lite
    sudo service docker restart
    

提交回复
热议问题