
frankc60/hello-worldlocal files -> git: frankc60/hello-world -> git workflow -> hub.docker (frankc60/hello-world)
create this nodejs app
create a "dockerfile", insert contents.
put in a .dockerignore file, with: node_modules
build the image: sudo docker build . -t frankc60/hello-world
check image is created with: sudo docker images
run the image in background: sudo docker run -p 8080:3000 -d frankc60/hello-world
(-p
check app is running in background:
sudo docker ps (to get the containerID)
sudo docker logs
if you need to go into container:
sudo docker exec -it
access from cmdline: curl http://localhost:8080
--Put into Kubernetes--
create a pod.yaml file
create a service.yaml file
kubectl create -f pod.yaml kubectl get pods
kubectl create -f service.yaml kubectl get svc



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务