Note:

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

 

 

1. install

$sudo apt install docker.io

 

2. enable

$ sudo systemctl start docker
$ sudo systemctl enable docker

 

 test:

$ docker --version

 

 

Reference:

    1. How to Install Docker On Ubuntu 18.04 Bionic Beaver

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄