INSTAL DOCKER ON CENTOS 7
Google Compute Engine GCP
7 Steps:
yum update
yum install yum-utils
yum-config-manager — add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker
sudo yum install docker-compose
sudo service docker start
docker -v
INSTALL NGINX
docker run --name mynginx2 --mount type=bind,source=/var/www,target=/usr/share/nginx/html,readonly --mount source=/var/nginx/conf,target=/etc/nginx/conf,readonly -p 80:80 -d nginx
MASUK CONTROLER ID
docker exec -it 5f62cb40491d /bin/bash
EXIT CONTROLER ID
CTRL + D