GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docker/01-install at master · lerndevops/docker

Expand file tree

/

01-install

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

01-install

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
AWS-Setup-EC2.pdf
AWS-Setup-EC2.pdf
 
 
GCP-Account-Setup.pdf
GCP-Account-Setup.pdf
 
 
README.md
README.md
 
 
setupUser.sh
setupUser.sh
 
 

README.md

Outline

Install Using Script

sudo wget https://raw.githubusercontent.com/lerndevops/labs/master/scripts/installDocker.sh -P /tmp
sudo chmod 755 /tmp/installDocker.sh
sudo bash /tmp/installDocker.sh

Manual Installation Steps

Install Docker on Ubuntu:

 sudo apt-get update
 sudo apt-get install -y apt-transport-https ca-certificates curl gnupg software-properties-common lsb-release
 
 ## Add Dockers official GPG key & stable repo
 sudo mkdir -p /etc/apt/keyrings
 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
 echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

## Install Docker latest
sudo apt-get update ; clear
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

## Test the installation by running a simple container:

	docker run hello-world

## FYI Only ## Check Available Version for Install

	apt-cache madison docker-ce | awk '{print $3}'

Install Docker on CentOS/Fedora/amznLinux

sudo su -
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl start docker
sudo systemctl enable docker

## Test the installation by running a simple container:
	docker run hello-world

Add your user to the docker group

## Add your user to the docker group, giving the user permission to run docker commands:

        sudo usermod -aG docker devops
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.