Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install docker on centos

# First add repo to yum config manager
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# Use added repo to install and start docker
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
# Optional: Validate by run sample image 
sudo docker run hello-world
Comment

cent os install docker

sudo yum install -y yum-utils

$ sudo yum-config-manager 
    --add-repo 
    https://download.docker.com/linux/centos/docker-ce.repo
Comment

Install Docker CE on CentOS

sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user

#Makes docker to auto-start
sudo chkconfig docker on

#Installs git
sudo yum install -y git

#Reboots the system
sudo reboot
Comment

PREVIOUS NEXT
Code Example
Shell :: got push SSH 
Shell :: pip install flask dockerfile 
Shell :: install homebrew in mac 12 
Shell :: git supprimer branche origin 
Shell :: debian install ab 
Shell :: git out of sync 
Shell :: disbale knopwob dunst 
Shell :: awk rows count 
Shell :: alfred intellij toolbox 
Shell :: change file permissions ssh 
Shell :: how to get mcp23017 input in binary shell 
Shell :: pgpassword 
Shell :: start confluence service ubuntu 
Shell :: hojarudi 
Shell :: view branches not merged with master 
Shell :: fast backup mac 
Shell :: brew on windows 
Shell :: aws code commit Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights 
Shell :: match first word regex 
Shell :: awk convert first character to lowercase 
Shell :: pip3 install requirements.txt 
Shell :: how to use nano instead of vi 
Shell :: xstate install 
Shell :: rec: command not found 
Shell :: comment creer un fichier en linux 
Shell :: install kube-vip 
Shell :: git initial commit 
Shell :: bash cd || exit 
Shell :: snap powershell 
Shell :: git show log after date 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =