Kuberenetes pull image from docker hub to run application on container getting error
Failed to pull image "tutum/hello-world": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for GATEWAY.xxx.COM, not registry-1.docker.io
many suggest to look into link, however it is not available now
https://docs.docker.com/v1.13/engine/admin/systemd/#http-proxy
kind: service
apiVersion: v1
metadata:
name:helloworldservice
spec:
selector:
app: hello-world
ports:
protocol: "TCP"
port: 8080
targetport: 80
nodeport: 3001
type:LoadBalancer
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
spec:
replicas: 2
selector:
matchLabels:
app: hello-world
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: hello-world
image: tutum/hello-world
ports:
- containerPort: 3000
Failed to pull image "tutum/hello-world": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for GATEWAY.SPANSERVICES.COM, not registry-1.docker.io