📌  相关文章
📜  在 Amazon Linux 上安装 docker - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:47.329000             🧑  作者: Mango

代码示例3
sudo yum update -y
sudo amazon-linux-extras install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
sudo chkconfig docker on
sudo yum install -y git
sudo curl -L https://github.com/docker/compose/releases/
latest/download/docker-compose-$(uname -s)-$(uname -m)
-o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose