# OpenEuler 安装 Docker
# 安装
yum install -y docker
1
# 安装完成检查
docker -v
1
# 设置为开机自启,并检查启动状态
systemctl start docker
1
systemctl enable docker
1
systemctl status docker.service
1
# 安装docker-compose以及检查
sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
1
sudo chmod +x /usr/local/bin/docker-compose
1