Questions tagged [docker-swarm]

Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.

Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.

Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Flynn, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.

Like other Docker projects, Swarm follows the "batteries included but removable" principle. It ships with a set of simple scheduling backends out of the box, and as initial development settles, an API will be developed to enable pluggable backends. The goal is to provide a smooth out-of-the-box experience for simple use cases, and allow swapping in more powerful backends, like Mesos, for large scale production deployments.

3165 questions
1
vote
0 answers

Is it possible to mount docker volume between two physical instances?

I’m trying to understand the swarm and volumes in scale. I followed the https://docs.docker.com/get-started until the end and everything was clear and working as expected. Now I want to do the same thing (have two nodes, 1 manager, 1 worker) but on…
Aaron
  • 349
  • 5
  • 18
1
vote
0 answers

Consul within Docker Swarm

Has anyone been able to use Consul within Docker Swarm successfully? The reason I ask is that I've been struggling for days to get it running (my additional post here). The only way I can get Consul to start is to run it using "network_mode: host"…
Steve Davis
  • 167
  • 14
1
vote
0 answers

Add mongo's new replica automatically to the mongo cluster

I have docker -swarm with 3 workers nodes (mongo container on each one). I configured mongo-cluster ("rs0"). When I scaled mongo service (eg. docker service scale test_mongo1=2) I saw new mongo's container but this mongo is not in the cluster. How…
1
vote
0 answers

How can one get VirtualBox installed and working on Amazon Linux 2 AMI?

at the download page https://www.virtualbox.org/wiki/Linux_Downloads I noted Users of Fedora can add the Fedora repo file to /etc/yum.repos.d/. So I created a file virtualbox.repo at /etc/yum.repos.d/ and pasted in [virtualbox] name=Fedora…
1
vote
1 answer

Consul on Docker Swarm with Spring Boot clients

I'm having issues at the moment getting Consul running on Docker Swarm on Centos 7 (Docker version is 18.09.1, build 4c52b90), or more to the point, connecting to it from a worker node (either from a Consul agent or from a Spring Boot application…
Steve Davis
  • 167
  • 14
1
vote
1 answer

Does removing a Docker Swarm service remove associated volume data?

If I run docker service rm , will the 's volume data be deleted? Documentation on this command does not specify one way or the other.
soundstripe
  • 1,454
  • 11
  • 19
1
vote
1 answer

Is there ability to stop and start the specific service via docker swarm or kubernetes?

I'm newbie in the Docker, so I need your advice. I try to move under docker containers my current system of java application based on Jboss AS. I have different host machines with 1, 2 or 3 jboss as. I've configured this system to run in the swarm…
1
vote
1 answer

Docker Unable to reconcile state of Kubernetes addons component

I have installed 18.09 on a new RHEL V7.6 image. I am trying to install UCP 3.1.0. I uninstalled 3.1.0 and installed 3.1.2. Still got the error. I am working on the Leader and right now the only node. I am behind a proxy, i have created…
fsejoseph
  • 21
  • 5
1
vote
0 answers

Docker Swarm - does not start service after daemon restart

I using Docker Swarm in a test server running about 10 different services. I use docker compose to create the service and connect then to a pre-existing bridge network instead of default overlay network: h2r@test-server:~$ docker network inspect…
brevleq
  • 2,081
  • 10
  • 53
  • 97
1
vote
1 answer

Docker swarm service port not exposed

I cannot connect to a service running on docker swarm. The swarm seems ok because I can connect to other containers running on it. I running the service with docker stack deploy -c docker-compose.yaml nifi and the docker compose file is: version:…
BenCaldwell
  • 323
  • 1
  • 15
1
vote
1 answer

dial-http tcp 127.0.0.1:51640: unexpected EOF

Docker version -> 18.09.0, build 4d60db4 docker-machine version -> 0.16.0, build 702c267 After running docker-machine create -D --driver virtualbox default I get the following: Found binary path at /usr/local/bin/docker-machine Launching plugin…
ntruiz
  • 33
  • 5
1
vote
1 answer

Docker windows container DNS Cache and firewall

I have a Docker windows container and Linux container on a different node. On windows, I opened ports in the firewall mentioned here: https://docs.docker.com/network/overlay/#operations-for-all-overlay-networks (8 rules - 4 for in and 4 for out)…
1
vote
0 answers

Publish port on docker swarm only to one of the connected networks

I'm using a swarm over several nodes to host some web services. The manager node runs traefik as a proxy and ssl endpoint. Here's a simplified compose file for one of the swarm stacks: version: '3.2' services: test1: networks: -…
Helmi
  • 489
  • 7
  • 25
1
vote
1 answer

Spring Boot Admin with Docker Swarm Unable to pull Health Metrics

I am trying to get spring boot admin to work in a docker swarm cluster using a zookeeper discovery service mechanism to ensure that all clients are dynamically discovered once connected to zookeeper. Problem is it appears springboot admin is unable…
1
vote
2 answers

Docker swarm bringing up too many processes

I'm running some celery workers with docker swarm and noticed that docker service ls shows significantly less processes than system tools (like top) This is what I get when I run docker service ls docker service ls ID NAME …
Greg0ry
  • 931
  • 8
  • 25