Questions tagged [docker-swarm-mode]

Swarm mode refers to cluster management and orchestration features embedded in Docker Engine. When you initialize a new swarm (cluster) or join nodes to a swarm, the Docker Engine runs in swarm mode.

285 questions
0
votes
2 answers

Correct approach in deploying stack to Docker for AWS

I am trying to deploy my docker-compose based stack to Docker for AWS (created via AWS CloudFormation). My compose YAML file is managed in Git repository and Docker images in private registry (Gitlab). What is the correct way of working with Manager…
0
votes
0 answers

Docker swarm don't publish ports

I have an error whith docker swarm new services when I'm added somes services with a port like : docker service create --name=elasticSearch --network=swarm-net -e xpack.security.enabled=false -e xpack.monitoring.enabled=false -e…
Damien Chesneau
  • 457
  • 2
  • 18
0
votes
1 answer

External F5 load balancer integration with Docker swarm service discovery

I'm planning to use docker swarm mode for my applications to host. Currently in a situation to figure out a way of integrating F5 load balancer with docker swarm mode service discovery. Is there a use case to achieve this? I know we can publish the…
0
votes
1 answer

symfony classes.map failed to open stream: No such file or directory

I get this error when I tried to deploy symfony in a Docker swarm node ContextErrorException in Kernel.php line 338: Warning: file_put_contents(/home/backend_microservice/private_webapp/var/cache/dev/classes.map): failed to open stream: No such file…
0
votes
0 answers

How to manage docker swarm?

I'm trying to set up a docker swarm, and then deploy to it from my local machine. The swarm is up and running with 2 virtual machines, where one of them is manager, and the other is worker. Though now i can't seem to deploy to the swarm.. When i…
Anders Metnik
  • 6,096
  • 7
  • 40
  • 79
0
votes
1 answer

Docker swarm load balancing - How to give common name to the service?

I read swarm routing mesh I create a simple service which uses tomcat server and listens at 8080. docker swarm init I created a node manager at node1. docker swarm join /tokens I used the token provided by the manager at node 2 and node 3 to create…
Gibbs
  • 21,904
  • 13
  • 74
  • 138
0
votes
0 answers

Artifactory: "docker service create" does not work with images of 0 byte

docker service create ... works even though compressed image size is 0B in Docker Hub. On the other hand, when I use Artifactory as private registry, it fails with No such image error. Docker daemons' debug logs say manifest verification failed for…
Ali Sadik Kumlali
  • 631
  • 1
  • 6
  • 14
0
votes
1 answer

Wildfly/Jboss-v10 is not working in cluster mode with docker swarm

I have my web based java application working in wildfly/jboss version 10.I am using docker(1.13.1-cs2) to deploy my application.Now as per some HA(High availability) scenario I want my application to work in cluster mode.So I changes my wildfly…
chintan thakar
  • 1,440
  • 1
  • 15
  • 25
0
votes
1 answer

how to sync mac local directory with native docker container?

i am using native docker for mac and i have a small application running with docker container . currently i am manually copying the data from my mac to docker container using docker cp command. i want to make it dynamic, i want to put the data in…
0
votes
0 answers

Wildcard subdomain works on Docker CLI but not on Docker-Swarm with Docker-Compose

I have an application where we use the subdomain string to specify which team a customer belongs to. For example: customer1.ourdomain.com customer2.ourdomain.com ... etc Behind the scenes in our application we are parsing the string…
0
votes
1 answer

docker deploy to docker for mac swarm mode not working, how to troubleshoot?

I am trying to deploy a stack of services to docker for mac. Let me say beforehand that deploying my stacks to a real swarm works perfectly. I run docker for mac Beta Version 17.05.0-ce-rc1-mac8 (16582). I did run swarm init on it. Here's my yaml…
raarts
  • 2,711
  • 4
  • 25
  • 45
0
votes
1 answer

NGINX service failure in Dockers on limiting memory and CPU usage

I have one Master and 5 worker nodes, I am using the following command while deploying the nginx service. It fails- docker service create --name foo -p 32799:80 -p 32800:443 nginx --limit-cpu 0.5 --limit-memory 512M On the other hand this…
Dhruv K
  • 55
  • 4
0
votes
1 answer

Adding nodes to docker swarm

We have a swarm running docker 1.13 to which I need to add 3 more nodes running docker 17.04. Is this possible or will it cause problems? Will it be possible to update the old nodes without bringing the entire swarm down? Thanks
CoderX
  • 162
  • 1
  • 9
0
votes
1 answer

docker swarm mode nginx between 2 swarm clusters

I'm trying to create a proxy in front of a swarm cluster. This proxy is inside of another swarm cluster, to provide HA. This is the current structure: Proxy cluster (ip range 192.168.98.100 ~…
0
votes
1 answer

Using a unique-hosted data volume containers with v3 in swarm

For our continuous integration environment, we want to start working with docker swarm and the latest version V3 of the compose files specification. (Docker 1.13.1 and docker-compose 1.10.0). We are currently working with V2 and therefore deploying…
1 2 3
18
19