Update docker/install-docker-ubuntu.sh
This commit is contained in:
@@ -13,10 +13,10 @@ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
|
|||||||
# 3. Thêm Docker repo
|
# 3. Thêm Docker repo
|
||||||
echo \
|
echo \
|
||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
|
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
|
||||||
https://download.docker.com/linux/ubuntu \
|
http://10.0.1.250:9081/repository/docker-noble \
|
||||||
$(lsb_release -cs) stable" | \
|
$(lsb_release -cs) stable" | \
|
||||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
|
||||||
# 4. Cập nhật repo & cài Docker
|
# 4. Cập nhật repo & cài Docker
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
Reference in New Issue
Block a user