How to fix docker: Got permission denied issue

前端 未结 19 1132
醉话见心
醉话见心 2020-11-28 00:15

I installed Docker in my machine where I have Ubuntu OS. After than I installed docker, when I run

sudo docker run hello-world

All it\'s ok

19条回答
  •  情歌与酒
    2020-11-28 00:41

    A simple hack is to execute as a "Super User".

    To access the super user or root user, follow:

    At user@computer:

    $sudo su
    

    After you enter your password, you'll be at root@computer:

    $docker run hello-world
    

提交回复
热议问题