[CentOS7] docker quick install

docker quick install

주의!!! 별도 계정 이용시 usermod -aG docker $user-name

 

# yum install -y yum-utils device-mapper-persistent-data lvm2
# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# yum install -y docker-ce
# sudo usermod -aG docker test
# systemctl enable docker ; systemctl start docker
# curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose

 

 

댓글 남기기