Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker install in centos u7

sudo yum update
sudo yum install yum-utils device-mapper-persistent-data lvm2

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce -y
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
sudo docker -v
Comment

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 :: ionic 4 image zoom 
Shell :: dot is not recognized as an internal or external command 
Shell :: pip install scikit learn 
Shell :: YAML - Basic Cheatsheet 
Shell :: alter package body compile 
Shell :: How to list all unit files with systemctl command 
Shell :: linux count files fast 
Shell :: sed remove square brackets 
Shell :: flutter add const auto 
Shell :: how can I specific line in ubuntu? 
Shell :: merge two branches git 
Shell :: certbot command 
Shell :: dependencies for openboard in ubuntu 
Shell :: firewalld redhat 
Shell :: add suid bit 
Shell :: how to change ssh key for git 
Shell :: heroku centos 8 
Shell :: como usar o cmd do git 
Shell :: create new git repository 
Shell :: hot corner ubuntu 20.04 
Shell :: create file cmd windows 
Shell :: bash remove random files from directory 
Shell :: screenshot shortcut in ubuntu 
Shell :: storybook vite installtion 
Shell :: how to switch branches in git 
Shell :: linux while loop shell 
Shell :: deleting a file inside a tar or zip file linux 
Shell :: getCityNameByLatitudeLongitude 
Shell :: github pypi workflow 
Shell :: git revert last 2 commits 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =