Docker Community Forums

Share and learn in the Docker community.

Having troube with stack depolyment


#1

While trying to deploy a stack i get the following warning:
docker stack deploy -c docker-compose.yml getstartedlab
WARN[0000] Unable to use system certificate pool: requires building with go 1.7 or later
Updating service getstartedlab_web (id: m20r5ektncfert2nteoj7kczi)
root@ThinkPad-X230:~# docker stack ps getstartedlab
WARN[0000] Unable to use system certificate pool: requires building with go 1.7 or later
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
p5pbltn9823b getstartedlab_web.1 paktrad/get-started:part2 myvm2 Running Running 13 minutes ago
slmpxtkawngt getstartedlab_web.2 paktrad/get-started:part2 myvm1 Running Running 13 minutes ago
m9ci4i7bh879 getstartedlab_web.3 paktrad/get-started:part2 myvm2 Running Running 13 minutes ago

And when I try to access the vm ip address in the browser, I do get connected but my Hello World app doesn’t depoly and show just few tiny boxes like these:

Could someone help me what is the implication of this warning and how to get rid of this

Thanks


(Manasrb23) #2

Hello,

Can you please share compose file and your image history ?


#3

I have uploaded the files for you to see. The browser display shows tine boxes, 6 of them and nothing else


#4

Sorry as newer members can’t upload files, my files didn’t go through. I will probably need to cut paste these:
docker-compose.yml
version: “3”
services:
web:
# replace username/repo:tag with your name and image details
image: paktrad/get-started:part2
deploy:
replicas: 5
resources:
limits:
cpus: “0.1”
memory: 50M
restart_policy:
condition: on-failure
ports:
- “80:80”
networks:
- webnet
networks:
webnet:


(Manasrb23) #5

Is your issue resolved ?

Seems you are using docker version 1.13. warning related to below issue.

Can share your dockerfile or docker image history.