We have a docker-swarm cluster. The manager node holds the credentials to our private docker registry. When we start new containers on other nodes the image might need be pulled from the private docker registry. Is there a way to tell the crate container command to pull the image (if not already existent on the […]
Hi I have my swarm cluster up and running. And it seems to be ok. Nodes: 4 xxxxxx: xxxxxx.200:2375 └ ID: PCWH:KH4F:NBDH:R75Q:BG27:FDUA:TCA6:MD7W:AMFQ:6P7S:GM6B:XELT └ Status: Healthy └ Containers: 4 (3 Running, 0 Paused, 1 Stopped) └ Reserved CPUs: 0 / 4 └ Reserved Memory: 0 B / 32.95 GiB └ Labels: kernelversion=3.16.0-77-generic, operatingsystem=Ubuntu 14.04.2 LTS, storagedriver=aufs […]
I’ve been using these instructions to set up a Docker Swarm cluster on AWS (Ubuntu 16.04). However, the managers can’t reach worker nodes. The worker can advertise itself through the consul, but isn’t reachable on port 2375. The cause appears to be that port 2375 isn’t forwarded from the worker node’s external network interface to […]
We have a number docker images running in a swarm-mode and are having trouble getting one of them to listen externally. If I exec to container I can curl the URL on 0.0.0.0:8080. When I look at networking on the host I see 1 packet being stuck in Recv-Q for this listening port (but not […]
I have followed this guide to set up a swarm cluster in Docker for Mac: https://medium.com/@alexeiled/docker-swarm-cluster-with-docker-in-docker-on-macos-bdbb97d6bb07#.2x5gqgrkq All seems to work correctly and I am able to see the cluster. $ docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS 3ez478atbfrcwb66u892ccbpx worker-2 Ready Active 7qfb87e9n54q3at9enzgeeko1 worker-3 Ready Active cnr8tyaf1qqgkpjqnn4wmnb1e * moby Ready Active Leader eyksqiw6ewfks7t8fr48rppia worker-1 […]
line: docker ps -f “label=com.abc.xyz.environment=dev” -q -a results: Error response from daemon: json: cannot unmarshal object into Go value of type string while executing ./go.sh 884-PC-2016.10.10 How can I resolve this issue?
When we want create a swarm service from a docker HUB repositories we need do the follows steps 1) docker login (dockerHUB login) 2) docker-machine ssh manager_name “docker service create -p 80:5000 –name web –with-registry-auth repository:latest” However if we try a similar command for AWS EC2 container repository this doesnt work. For example Im trying […]
I am following the article that I found here… https://docs.docker.com/datacenter/install/aws/ I am able to deploy the template, but I do not see the UCP and DTR URLs in the output tab. Actually there are only 2 parameters in the output tab. DefaultDNSTarget and Managers. How do I connect to docker swarm?
I’m using Docker 1.12 (swarm mode) to deploy my services, now for some of the services I need to run a special script after the container is running. How can I tell swarm to run the script every time the container is created? For example, I have a service name: redis with 3 replicas. Now […]
new to docker and docker swarm. Trying docker and docker swarm both. initially i had started a docker daemon and was able to connect it on http port i.e. 2375. I had installed docker colud plugin in jenkins and added http://daemon-IP:2375 and was able to create containers. well it creates a container, does my build […]