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
2 answers

How to get transferable docker compose stack without dockerhub

I have few docker images composed together in the stack using docker-compose.yml. Now I want to transfer whole docker compose stack to the other host machine without uploading to the dockerhub, And deploy it on the docker swarm. I saw there is a…
Mark O
  • 927
  • 9
  • 13
1
vote
1 answer

Routing to same instance of Backend container that serviced initial request

We have a multiservice architecture consisting of HAProxy front end ( we can change this to another proxy if required), a mongodb database, and multiple instances of a backend app running under Docker Swarm. Once an initial request is routed to an…
tech74
  • 1,609
  • 1
  • 20
  • 39
1
vote
1 answer

NFS Volume in Docker Swarm: Permission denied

I'm having huge problems with sharing an NFS Volume in a docker swarm. I'm always getting this error: error while mounting volume .... permission denied The entry in my /etc/exports file looks like this: /home *(rw,sync,no_subtree_check) The…
yosrO
  • 161
  • 1
  • 3
  • 12
1
vote
1 answer

How to get detailed logs when docker swarm deploy proccess is going?

I want to make a faster deployment process than before. Always too much time spent in this step. But I can't find any way to see detailed docker logs such as Downloading, Pulling Images, Starting Containers, ... etc. I want to see it in the…
kargnas
  • 332
  • 3
  • 10
1
vote
1 answer

How can I add labels to "deploy" through docker service create

I usually create my stacks using docker-compose, but when I have a single service, I prefer to create it directly as a service, without the underlying (and useless) stack. My problem is about the labels I need to set under the "deploy" sections,…
Marvin
  • 1,650
  • 4
  • 19
  • 41
1
vote
0 answers

How to deploy Docker services to swarm using cephFS?

I have configured Ceph in a Docker Swarm with 5 nodes using the daemon/ceph Docker image. The status of the same is given below. root@master1 mnt]# ceph -s cluster: id: eec52783-a0b5-4195-82b7-b66ea5514650 health:…
Sarath Kumar
  • 145
  • 8
1
vote
1 answer

VueJs docker image not loading in the browser

QUESTION: (edited: solution is added at the end of this post) I have VueJS project (developed in webpack), which I want to docker-size. My Dockerfile looks like: FROM node:8.11.1 as build-stage WORKDIR /app COPY package*.json ./ RUN npm install COPY…
delux
  • 1,694
  • 10
  • 33
  • 64
1
vote
1 answer

file permission errors with all containers on docker host

I have a a few images a tibco , weblogic & spring boot etc that suddenly started failing on some of our linux server after a patching cycle because they cant determine the hostname of the container. I have a docker swarm with one master and one…
1
vote
3 answers

Docker containers instead of multiprocessing

One of the main application of Docker containers is load-balancing. For example, in the case of a web application, instead of having only one instance handling all requests, we have many containers doing exactly the same thing, but the requests are…
1
vote
1 answer

Accessing Apache Nifi through traefik load balancer on docker swarm

Trying to setup Apache NiFi docker container, with traefik as load balancer over docker swarm network, We are able to access web UI, while browsing through UI, it redirects to docker internal host instead of proxy host name, As per below thread…
1
vote
1 answer

Apache Spark and Livy cluster

Scenario : I have spark cluster and I also want to use Livy. I am new about Livy Problem : I built my spark cluster by using docker swarm and I will also create a service for Livy. Can Livy communicate with external spark master and send a job…
ugur
  • 400
  • 6
  • 20
1
vote
2 answers

Docker stack deploy command error running compose yml file docker-compose.yml

[root@d1 docker]# docker stack deploy -c docker-compose.yml getstartedlab yaml: line 12: did not find expected key Here is the docker yml file I am using please see the docker-compose.yml file below listed version: "3" services: web: …
Pragnesh Panchal
  • 15
  • 1
  • 2
  • 7
1
vote
1 answer

How to docker container logs to a local file?

I need to look up into docker logs for some days ago and checking by docker service logs SERVICE | grep WHAT_I_NEED takes forever so I want to download the container logs from docker swarm and check those locally. I found that the container logs in…
Noah Martin
  • 1,708
  • 9
  • 35
  • 73
1
vote
1 answer

How to use docker-machine to create docker host with alpine instead of boot2docker?

Is it possible to change the default linux distribution when create docker host with docker-machine create command ?
leo
  • 1,045
  • 3
  • 15
  • 27
1
vote
1 answer

Traefik HA in Docker Swarm Mode

How does Traefik work in Docker Swarm Mode? From what I'm reading here and here, Traefik will be installed as part of the managers. If there's 3 managers and each Docker Swarm manager is setup on a different host with different IP, what is the IP…
j7an
  • 104
  • 2
  • 11
1 2 3
99
100