I have a docker stack file that is deployed across my swarm, which have many nodes. For a specific reason one of the nodes (lets call it Node A) has a connection to the outside (internet), and the others dont, so when deploying a container on the other nodes, I need to set the HTTP_PROXY ..
I got a question with weird option in DCA practice test. From my point of view option#1 and option#4 both are eligible for answer. Because, For option#1 placement preference are getting ignored while using global services. So in that case, service will never fall into PENDING state. And for option#4, Even if all worker nodes ..
One best-practice for microservice deployments is "Canary Deployments" (to deploy a new version of an app alongside an existing one and to get your API gateway/proxy to send a small amount of traffic to the new version until you are happy it is stable, at which point you eventually increase it to 100% and delete ..
As per the Docker documentation, overlay network is automatically getting created when we initialise docker swarm. But we can not use that network for individual docker container which not part of swarm resource. So, we need to create overlay network with "–attachable" flag. I tried to create attachable overlay network but I am getting following ..
i wanna deploy nginx as reverse proxy in docker swarm. but i need more than one nginx i use this yml file for my stack version: "3.4" networks: ngi: external: true configs: nginxv: file: ./nginx/default.conf services: nginx: image: nginx ports: – 81:80 configs: – source: nginxv target: /etc/nginx/conf.d/default.conf deploy: replicas: 3 networks: – ngi when ..
I’m running Docker Desktop version 3.3.0 on Windows 10 Enterprise 20H2. I have the same problem with both the WSL 2 and the Hyper-V backend: I can run a docker stack, but when I logout of Windows, Docker Desktop stops ("Linux Containers WSL 2 backend is stopping" is the notification), and so does my stack. ..
What is the meaning and the cause of error "Context deadline exceeded or context deadline unknown" when using docker, with docker stack deploy? I see many posts with this error in differents environment and contexts. But i m not able to understand how to avoid this problem. When i have networks error i know what ..
I need to decide between Kubernetes and Docker Swarm. The cluster will have a max of 100 nodes. How would you choose anyway? Any pros and cons? Would you change your mind if the cluster would grow to 100000 nodes? Source: Docker..
We created a docker swarm for 2 containers, mongo (alias mongo), ES (alias elasticsearch). Because of the unique use case our application is not part of the swarm but it still on bridge/default network. We want to reach out to mongo & ES from our app but we face the error [email protected]:~/project$ curl -XGET http://mongo:27017 ..
I have 3 virtual machines in azure account, docker swarm network has been created and there were services running, all are working fine. But when infra team migrated the vm’s to new account by cloning, all the docker containers stopped. When i start those containers/services it is again getting exited. In this process the ip ..