Docker Setup
in Co-De with 2 comments

Docker Setup

in Co-De with 2 comments

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. Thank you for any other wonderful article. The place else may anybody get that type of information in such an ideal manner of writing?
    I have a presentation next week, and I'm on the search for
    such info. https://specs.pw/product/samsung/samsung-galaxy-m30-specs-price-and-reviews/

    Reply
  2. I read this article fully regarding the difference of most
    recent and previous technologies, it's awesome article.

    Reply