“Instalasi Docker” Kode Jawaban

Instal 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

Instal 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

Instal Docker Linux

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

Instal Docker

softwareupdate --install-rosetta
unknown

Instalasi 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

Instal 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

Jawaban yang mirip dengan “Instalasi Docker”

Pertanyaan yang mirip dengan “Instalasi Docker”

Lebih banyak jawaban terkait untuk “Instalasi Docker” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya