Skip to content

Commit 2b451db

Browse files
committed
Updated: Add -y to agree when install docker
1 parent 4794624 commit 2b451db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ while true; do
144144
echo \
145145
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
146146
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
147-
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
147+
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
148148

149149
countdown_title "Cài đặt docker-compose" || continue
150150
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

0 commit comments

Comments
 (0)