docker misc
This commit is contained in:
parent
7ddcc73454
commit
322239ec1f
@ -9,7 +9,7 @@ echo
|
||||
|
||||
# https://docs.docker.com/engine/install/ubuntu/
|
||||
|
||||
sudo apt-get install \
|
||||
sudo apt install \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
@ -17,9 +17,8 @@ sudo apt-get install \
|
||||
|
||||
sudo mkdir -p /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
|
||||
| sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.gpg
|
||||
|
||||
sudo apt update
|
||||
|
Loading…
Reference in New Issue
Block a user