Install Docker CE on Ubuntu 16.04 and newer (x86_64/amd64 architectures)

2023-05-16

Setup the Repository

  1. Update the apt package index:
    
    $ sudo apt-get update  
  2. Install packages:
    
    $ sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
        software-properties-common  
  3. Add Docker's official GPG key:
    
    $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -  
  4. Setup the stable repository
    
    $ sudo add-apt-repository \
    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
    $(lsb_release -cs) \
    stable"  

Install Docker CE

  1. Update the apt package index
    
    $ sudo apt-get update  
  2. Install the latest version of Docker CE
    
    $ sudo apt-get install docker-ce  

More Information of Docker installation

If you are using other OS version, or want to learn more about Docker installation, please view docker docs.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Install Docker CE on Ubuntu 16.04 and newer (x86_64/amd64 architectures) 的相关文章

随机推荐