Docker Setup
in Co-De with 1 comment

Docker Setup

in Co-De with 1 comment

Add Ali Repo

https://cr.console.aliyun.com/cn-hangzhou/repositories

    sudo mkdir -p /etc/docker
    sudo tee /etc/docker/daemon.json <<-'EOF' 
    { "registry-mirrors": ["https://**********.mirror.aliyuncs.com"] } 
    EOF 
    sudo service docker restart

Add docker Group

    sudo groupadd docker     #添加docker用户组
    sudo gpasswd -a $USER docker     #将登陆用户加入到docker用户组中
    newgrp docker     #更新用户组
    sudo service docker restart
    docker ps    #测试docker命令是否可以使用sudo正常使用
Responses
  1. I read this article fully regarding the difference of most
    recent and previous technologies, it's awesome article.

    Reply