Docker enginer: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
(Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
Linha 2: | Linha 2: | ||
Dentro do ambiente Linux, siga em ordem os comandos abaixo: | Dentro do ambiente Linux, siga em ordem os comandos abaixo: | ||
=== Docker | === Docker engine Debian 11: === | ||
---- | ---- | ||
#<code>sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release -y</code> | #<code>sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release -y</code> | ||
#<code>curl -fsSL <<nowiki>https://download.docker.com/linux/debian/gpg</nowiki>> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg</code> | #<code>curl -fsSL <<nowiki>https://download.docker.com/linux/debian/gpg</nowiki>> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg</code> | ||
#<code>echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] | #<code>echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] <nowiki>https://download.docker.com/linux/debian</nowiki> $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null</code> | ||
#<code>sudo apt update</code> | #<code>sudo apt update</code> | ||
#<code>sudo apt - | #<code>sudo apt-get install docker-ce docker-ce-cli containerd.io</code> | ||
#<code>sudo docker version-——————————-0</code> | #<code>sudo docker version-——————————-0</code> | ||
#<code>sudo systemctl status docker</code> | #<code>sudo systemctl status docker,</code> | ||
# | #0 | ||
=== Docker | === Docker engine Debian 10: === | ||
---- | ---- | ||
#<code>sudo apt update</code> | #<code>sudo apt update</code> | ||
Linha 27: | Linha 24: | ||
#<code>sudo systemctl status docker</code> | #<code>sudo systemctl status docker</code> | ||
=== Docker | === Docker engine Debian 9: === | ||
---- | ---- | ||
# | #sudo apt update | ||
# | #sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common | ||
# | #curl -fsSL <nowiki>https://download.docker.com/linux/debian/gpg</nowiki> | sudo apt-key add - | ||
#sudo add-apt-repository "deb [arch=amd64] <nowiki>https://download.docker.com/linux/debian</nowiki> $(lsb_release -cs) stable" | |||
#sudo apt update | |||
#apt-cache policy docker-ce | |||
#sudo apt install docker-ce | |||
#sudo systemctl status docker |
Edição atual tal como às 20h40min de 11 de julho de 2023
Instalação
Dentro do ambiente Linux, siga em ordem os comandos abaixo:
Docker engine Debian 11:
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release -y
curl -fsSL <https://download.docker.com/linux/debian/gpg> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker version-——————————-0
sudo systemctl status docker,
- 0
Docker engine Debian 10:
sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL <https://download.docker.com/linux/debian/gpg> | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] <https://download.docker.com/linux/debian> $(lsb_release -cs) stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
Docker engine Debian 9:
- sudo apt update
- sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
- sudo apt update
- apt-cache policy docker-ce
- sudo apt install docker-ce
- sudo systemctl status docker