“Installation de Docker” Réponses codées

Installation de Docker

curl -fsSL https://get.docker.com -o /tmp/get-docker.sh && sudo sh /tmp/get-docker.sh && \
sudo usermod -aG docker $USER && newgrp docker && \
newgrp docker && \
sudo curl -L "github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose && \
sudo chmod +x /usr/bin/docker-compose
Tiago F2

Installer 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

Installer Docker Linux

 sudo apt-get install -y xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
Sleepy Spider

Installation de Docker

softwareupdate --install-rosetta
unknown

Installation de 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

Installer 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

Réponses similaires à “Installation de Docker”

Questions similaires à “Installation de Docker”

Plus de réponses similaires à “Installation de Docker” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code