“Instale la máquina Docker” Código de respuesta

Instalar Docker

sudo apt install docker.io docker-compose acl
sudo setfacl --modify user:$USER:rw /var/run/docker.sock
sudo usermod -aG docker $USER
docker run hello-world			# Test if it works
Clear Cat

Instale la máquina DOCKE

$ base=https://github.com/docker/machine/releases/download/v0.16.0 \
  && curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine \
  && sudo mv /tmp/docker-machine /usr/local/bin/docker-machine \
  && chmod +x /usr/local/bin/docker-machine
Uptight Unicorn

Instale la máquina Docker

$ base=https://github.com/docker/machine/releases/download/v0.16.0 &&
  curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
  sudo mv /tmp/docker-machine /usr/local/bin/docker-machine &&
  chmod +x /usr/local/bin/docker-machine
South African Hedgehog

Cómo instalar Docker

Docker never works the first try :(

try this:
  Uninstall Docker Desktop
  Restart computer
  Install Docker Desktop (make sure to install it with admin rights)
Ruben Visser

Instalar Docker

curl -fsSL https://get.docker.com -o get-docker.sh  # Download docker installer script.
sudo sh get-docker.sh  # Install docker by running installer script.

# Optional commands for easier use:
rm get-docker.sh  # Removes the installer script.
usermod -aG docker $USER  # To remove the need for 'sudo' in front of every docker command.
newgrp docker  # To activate the previous command, if you still need 'sudo' restart your computer.
Motronky

Instalar Docker

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ DRY_RUN=1 sh ./get-docker.sh
Ill Ibex

Respuestas similares a “Instale la máquina Docker”

Preguntas similares a “Instale la máquina Docker”

Más respuestas relacionadas con “Instale la máquina Docker” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código