File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ sudo yum install -y yum-utils
57
57
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
58
58
59
59
sudo yum install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
60
- sudo yum install -y docker-compose
60
+ # sudo yum install -y docker-compose
61
61
62
+ sudo systemctl enable docker
62
63
sudo systemctl start docker
Original file line number Diff line number Diff line change @@ -58,4 +58,5 @@ sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/dock
58
58
59
59
sudo yum -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
60
60
61
+ sudo systemctl enable docker
61
62
sudo systemctl start docker
Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
51
51
52
52
sudo apt update
53
53
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
54
- sudo apt install -y docker-compose
54
+ # sudo apt install -y docker-compose
55
+
56
+ sudo systemctl enable docker
57
+ sudo systemctl start docker
55
58
56
59
# ###################################
57
60
# # 安装Golang
You can’t perform that action at this time.
0 commit comments