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
1 answer

How can I send data to docker?

I have the following problem. I want to send data continuing to the smart contract (chaincode) using Hyperledger Fabric. The data are temperature values measured by different pi's. They send the measured data to the chaincode. The problem I'm facing…
0
votes
1 answer

Labels in docker swarm - how does it work?

we know that on command: docker node inspect we got (among others) labels. How these labels are organized? Some enviroment variable? And in general: I added some lable to node using docker node update command. How does it work? I mean…
Ansible fancy
  • 25
  • 1
  • 8
0
votes
1 answer

How to connect to services running in different docker stack?

Can a services running in two different docker stack communicate ? This is what I have tried and not able to achieve it. Created a stack (stack1) running nginx and php-fpm its running great. Created another stack (stack2) running mysql…
0
votes
1 answer

Does rexray support multi host volume mounts?

I want to share a volume across multiple containers , in docker swarm . I need it to be such that all the containers have R/W access to this volume at any point of time . If not rexray ,is there any other docker volume plugin which would enable me…
0
votes
3 answers

How to use Docker Swarm Mode to share data between containers?

I have just started using docker . I was able to create a docker compose file which deploys three components of my application ,with the necessary number of replications in one host . I want to replicate the same same thing ,with multiple hosts now…
0
votes
1 answer

How to disable/leave docker swarm mode when starting docker daemon?

is there any way to disable/leave the swarm mode of docker when starting the daemon manually, e.g. dockerd --leave-swarm, instead of starting the daemon and leave the swarm mode afterwards, e.g. using docker swarm leave? Many thanks in…
aljoshare
  • 792
  • 9
  • 16
0
votes
0 answers

Running Docker containers in Swarm mode for high availability

I currently run a number of docker containers on a few hosts, in my home lab, in a standalone fashion. These hosts have docker ce installed and are not configured in any swarm or cluster mode. The containers running use an NFS share to store…
Rob Berry
  • 185
  • 1
  • 4
  • 14
0
votes
0 answers

Traefik Docker Swarm Mode multiple networks listen address

I can't figure out how to implement this, if it's even possible: I want to allow Traefik container to expose ports only on Traefik Network. Does anyone know how to achieve this? EDIT: To clarify, my question isn't technical and not about docker but…
Bogdan
  • 105
  • 8
0
votes
1 answer

Docker Swarm + Traefik: Expose Traefik GUI through frontend rule; Service / Container port redirection

I am trying to use Traefik with Docker Swarm backend, and I am using the stack file below: version: "3" services: traefik: image: traefik:1.5 command: --web --docker --docker.swarmmode --docker.watch --docker.domain=sample.com…
Jeric de Leon
  • 63
  • 3
  • 8
0
votes
1 answer

Span a swarm mode cluster over multiple cloud providers

E.g a virtual machine on DigitalOcean and another on azure. Both have a public IP and the necessary docker swarm ports can be opened. Is there a way to create a docker swarm joining these 2 machines?
paul van bladel
  • 1,663
  • 14
  • 18
0
votes
0 answers

VSTS Release Agent on Raspberry Pi

I would like to use a VSTS release agent on a Raspberry Pi, but I don't see anything in the VSTS Agent GitHub Repo that would indicate it is possible. My vision is a VSTS build agent on a Raspberry pi to build, package, and push a docker image to…
0
votes
2 answers

docker stack deploy generate stuck services with no replications

I am trying to deploy my working docker-compose set up to a docker-swarm, everything seems ok, except that the only service that got replicate and generate a running container is the redis one, the 3 others got stuck and never generate any running…
Duduche
  • 445
  • 4
  • 18
0
votes
1 answer

Number of replicas in swarm doesn't start in worker node (1/4)

I started a flask API service onto docker swarm cluster with 1 master and 3 worker node. I have deployed task using the following docker compose file, version: '3' services: xgboost-model-api: image: xgboost-model-api ports: -…
0
votes
0 answers

Docker swarm - docker.sock slowdown

I have a docker swarm where I deploy 3 copies of my microservice. The job of the microservice is to let a client download files. I am currently testing with large files of up to 3GB in size and multiple such downloads in parallel. I am on…
0
votes
1 answer

How to link multiple docker swarm services?

I'm a huge fan of the docker philosophy (or at least I think I am). Even so, I'm still quite novice in the sense that I don't seem to grasp the intended way of using docker. As I see it currently, there are two ways of using docker. Create a…