how to check if i have docker installed
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0
how to check if i have docker installed
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0
install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
usermod -aG docker $USER
newgrp docker
docker install
$ sudo apt-get remove docker docker-engine docker.io containerd runc
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
docker install
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
usermod -aG docker $USER
newgrp docker
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us