Answers for "install docker machine"

3

install docker

1 - VERIFY SYSTEM IS CURRENTLY UPDATED
# yum check-update

2 - INSTALL DOCKER
# curl -fsSL https://get.docker.com/ |sh  # download and install docker
Start & Enable Docker
# systemctl start docker && systemctl enable docker
As your self (not root), add your user to the docker group
$ sudo usermod -aG docker $(whoami)

3 - INSTALL DOCKER-COMPOSE
$ latest=$(curl -s https://raw.githubusercontent.com/docker/docker.github.io/master/_config.yml|grep "^compose_version"|awk '{print $2}'|sed 's/\"//g')
$ sudo curl -L "https://github.com/docker/compose/releases/download/${latest}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
Posted by: Guest on June-22-2021
0

install docker machine

$ 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
Posted by: Guest on March-14-2021
0

install docker

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
usermod -aG docker $USER
newgrp docker
Posted by: Guest on October-07-2021
-1

install docker

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ DRY_RUN=1 sh ./get-docker.sh
Posted by: Guest on June-26-2021
0

install docke machine

$ 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
Posted by: Guest on August-18-2021
-2

install docker

apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update && apt-get install docker-ce -y
Posted by: Guest on July-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language