가입 계정으로 로그인
add 인스턴스
4시간 사용가능
Docker version 20.10.12, build e91ed57
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
EOF
yum install -y kubectl
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
systemctl start docker
nginx 1.18 c2c45d506085 9 months ago 133MB
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
webserver1
curl: (7) Failed to connect to ::1: No route to host
webserver1
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
change1