Skip to content

Commit

Permalink
优化设置docker后,更新apt
Browse files Browse the repository at this point in the history
  • Loading branch information
KtKID committed Jul 28, 2023
1 parent 51ec27d commit 972091a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
echo "update docker gpt..."
sudo apt update -y
sudo apt upgrade -y
echo "install docker Engine..."
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
echo "[docker install finished!!!]"
Expand Down

0 comments on commit 972091a

Please sign in to comment.