“Installieren Sie Docker -Maschine” Code-Antworten

Docker installieren

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

Installieren Sie die Docke -Maschine

$ 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

Installieren Sie Docker -Maschine

$ 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

So installieren Sie 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

Docker installieren

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

Docker installieren

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

Ähnliche Antworten wie “Installieren Sie Docker -Maschine”

Fragen ähnlich wie “Installieren Sie Docker -Maschine”

Weitere verwandte Antworten zu “Installieren Sie Docker -Maschine” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen