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

What is the difference between "swarm master" and "swarm manager"?

I am using the latest docker for mac (17.09.0-ce), when I run docker-machine create --help it says ... --swarm-master Configure Machine to be a Swarm master But the document here said "run docker swarm init to enable swarm mode and make your…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
3
votes
0 answers

overlayfs full inside docker containers

What does the below output mean and how to free it? I don't even know how is it used. Could not find much info. Any pointers are appreciated. I am running this inside my docker container-df -h. command. This docker container is deployed from compose…
3
votes
1 answer

How to deploy an IPv6 container with Docker Swarm Mode or Docker Compose

In the end I'd like to have a pure IPv6 network deployed via compose or swarm mode. For now, I'd just like to have a single container deployed with IPv6 (only). I am not currently interested in routing (just container to container connectivity). …
Akom
  • 1,484
  • 19
  • 25
3
votes
1 answer

Jenkins service in Docker swarm stays at 0/1 replicas

I'm trying to run a fault tolerant Jenkins in a docker swarm using the following command: docker service create --replicas 1 --name jenkins -p 8080:8080 -p 50000:50000 --mount src=/home/ubuntu/jenkins_home,dst=/var/jenkins_home jenkins:alpine But…
nacho_dh
  • 1,847
  • 3
  • 18
  • 27
3
votes
1 answer

Understanding overlay networks in docker

Please help me get this right, An overlay network in swarm mode allows cross-node containers to be able see each other as on the same network. Is that right? So if I had the following setup: swarm-mode cluster of two similar nodes M (manager)…
Ayman Nedjmeddine
  • 11,521
  • 1
  • 20
  • 31
3
votes
0 answers

Cannot connect to the Docker daemon at tcp://1.0.1.7:2375. Is the docker daemon running?

I setup native swarm cluster in docker with 3 managers and 3 nodes. Below are the results: docker node ls (dev-manager1) ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS 2ms0ibflqj3jlsgcv8y1flmrn dev-node1 …
RNK
  • 5,582
  • 11
  • 65
  • 133
3
votes
2 answers

Docker Swarm shared volumes

Currently I am building a Docker Swarm cluster. It consists of 3 managers and 3 workers. The app I will be deploying on this setup consists of a laravel backend that needs its code in multiple containers for scalability. I already tried GlusterFS…
Odyssee
  • 2,393
  • 2
  • 19
  • 38
3
votes
0 answers

How to achieve cpu-throttling in docker swarm mode: docker service create

We can assign cpu-quota and cpu-period using docker run command. How to achieve the same using docker service create command?. In docker 1.12 swarm mode there is only "--limit-cpus" option.
Aditya C S
  • 653
  • 1
  • 8
  • 17
3
votes
2 answers

Run a docker service on a swarm having several system architectures

I want to test out my distributed algorithm on both my laptop (x86_64) and my cluster of Raspberry Pis (armhf) using the new docker swarm mode. After a bunch of configuration, I can successfully create the swarm cluster, composed of one manager node…
Adrien Luxey
  • 552
  • 1
  • 6
  • 16
2
votes
0 answers

Unable to get docker swarm working with traefik

I'm trying to setup a basic system where a traefik container serves as the reverse proxy for a backend nodejs server. Traefik rests in its own container and nodejs has a container as well. The goal here is to allow for updating the nodejs service…
2
votes
1 answer

Unable to access the services in Docker swarm

I am quite new to docker and I have been following the Nigel Poulton course lately from PluralSight. Now, I started following the video tutorial on swarm mode and did exactly told in the video. I have 6 EC2 instances running. I logged into each of…
2
votes
2 answers

Swarm mode routing mesh not working, instead is working like host mode by default

Description Swarm mode routing mesh not working, instead, it is working like using host mode by default. We were deploying a swarm of 3 masters nodes and 8 worker nodes, each of them in a different instance of a cloud service OpenStack using…
Ga11u
  • 43
  • 1
  • 5
2
votes
2 answers

docker swarm . Run some service only once per node

I use docker version Client: Version: 18.06.1-ce API version: 1.38 Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:24:51 2018 OS/Arch: linux/amd64 Experimental: …
Oleg
  • 3,080
  • 3
  • 40
  • 51
2
votes
1 answer

Run docker container on a specific node in the swarm cluster

I'm trying to implement a backup system. This system requires the execution of a docker container at the time of the backup on the specific node. Unfortunately I have not been able to get it to execute on the required node. This is the command I'm…
user2693017
  • 1,750
  • 6
  • 24
  • 50
2
votes
1 answer

How can I user docker image jenkins/jnlp-slave with Jenkins docker-swarm-plugin (pass agent name)

I have a swarm of three nodes (one manager, two workers). In my swarm, I am running a jenkins service with docker-swarm-plugin (https://github.com/jenkinsci/docker-swarm-plugin) installed. I want to use the plugin to create a build agent container…
tigu
  • 731
  • 1
  • 7
  • 20