zoukankan      html  css  js  c++  java
  • Ubuntu之Docker安装

    1.添加官方的GPG key到系统

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

    2.添加Docker到APT源

    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

    3.从添加仓库更新源

    sudo apt-get update

    4.安装Docker

    sudo apt-get install -y docker-ce

    5.获取非超级用户权限

    安装好的Docker需要sudo用户权限运行,可以通过以下方式移除sudo权限限制

    sudo usermod -aG docker ${USER}

    su - ${USER}

    参考资料:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04

  • 相关阅读:
    水利行业传感器
    含水量传感器
    水位传感器
    物联网实践
    SQLCMD
    zigbee
    物联网支撑平台
    近距通信技术比较
    物联网发展
    NFC标签
  • 原文地址:https://www.cnblogs.com/huangshiyu13/p/7283419.html
Copyright © 2011-2022 走看看