Questions tagged [swarm]

Swarm is a web-based code review and collaboration tool for Perforce.

320 questions
0
votes
0 answers

docker daemon running on worker node inside a docker swarm listens to 443 and cannot run a service on this port

Docker daemon running in a node inside a docker swarm listens to 443, and as a result when i try to run an nginx service on this port I'm getting errors that this port is already in use. How can I start the docker daemon to listen in a different…
themis
  • 21
  • 1
  • 2
0
votes
1 answer

Elasticsearch cluster across docker

How do you deploy ES (Elasticsearch) cluster? I use Docker Swarm + Compose for deploy my systems and I try to deploy ES cluster by .yml: version: '3.3' services: elasticsearch: image: elasticsearch:alpine ports: - '9200:9200' …
Ivan Bukharin
  • 321
  • 2
  • 4
  • 22
0
votes
1 answer

Ban more than one container on a node

How made ban more than one container on a node with use: Docker, Swarm, Compose? For example I have 5 nodes and I want deploy 3 replicas some service and I want that this replicas will be on different nodes.
Ivan Bukharin
  • 321
  • 2
  • 4
  • 22
0
votes
2 answers

getting docker swarm cluster worker node error

I'm working on docker swarm. When I connect to a worker node I get this error: Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable I have already stopped firewall and setenforce 0. What could be the…
pankaj
  • 85
  • 1
  • 8
0
votes
1 answer

Approach to starting up about 45 services with Docker Swarm Mode

I am starting 45 services in Docker Swarm mode across two Ubuntu 16.04 LTS VMs. Each service is using a different Docker image. When I perform a 'stack deploy' based on a compose file, all 45 services attempt to start at once. This, in turn, has…
Sam A
  • 31
  • 5
0
votes
1 answer

Creating docker swarm using ansible

I am using the following from github to understand how docker swarm works via ansible https://github.com/patocox/ansible-swarm-do I'm not sure if I can ask this doubt without raising an issue on github, so here I am. I followed the steps in…
Sreenidhi
  • 245
  • 3
  • 11
0
votes
1 answer

How add parameter in project -stage.yaml for Swarm on docker

I am using Swarm with Docker and i want to change default upload size. But i don't how to add this parameter in project-stage.yaml. I tried like this : swarm: …
bilgin
  • 133
  • 1
  • 13
0
votes
1 answer

why when I create a new class in a new package in Swarm it does not work?

I use Swarm 2017.3.X and 2017.5.0. When I add a new class in a new package I get NoClassDefFoundError caused by java.lang.ClassNotFoundException on runtime. Why? org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError ... Caused…
Andreas Panagiotidis
  • 2,763
  • 35
  • 32
0
votes
1 answer

Save data generated from a Python app running in Docker swarms in Mysql Database

I would like to run multiple instances of my Python app using Swarm in Docker, running on two raspberry Pi. The app communicates with a Mysql db. I would like to save all the data generated from the replicas in one common database but I cannot…
Giada Confortola
  • 171
  • 1
  • 2
  • 10
0
votes
1 answer

Local development and swarm service image update

We are using Docker Swarm on developers machines for development. Docker services is using e.g. foo:beta image. When a developer builds a new feature for foo, he builds a new image of the container locally, under the same name (sha is…
igr
  • 10,199
  • 13
  • 65
  • 111
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

How can I make connection between two services in docker swam?

How could I make connection between 2 services: MySQL & OCS in docker swarm the 2 services are in the same overlay network.
0
votes
0 answers

docker stack/swarm golang port not exposed

i have a tricky problem for a while with the new swarm mode. I simply try to run a go web server in the first and a mongo db in the second container. Therefor I am using a private test image and the standard mongo image. Calling the mongo service on…
nayD93
  • 13
  • 2
0
votes
1 answer

Intermittent Connection Errors for Docker Swarm Services

I am using Docker 1.13 on Ubuntu 16.04 in Swarm Mode. I have one service (three replicas) published on port 80. I am seeing intermittent connection failures when trying to connect to the service.Initially the service works fine but once we run some…
isingh
  • 141
  • 1
  • 5
0
votes
1 answer

Load balancing of network requests between replicas of services in docker swarm mode

I cannot find any docs on used algorithm of load balancing between replicas of a service of docker in swarm mode. I created an image mynodeapp based from the Dockerfile: FROM node:latest …
rlib
  • 7,444
  • 3
  • 32
  • 40