Questions tagged [docker-swarm]

Docker-swarm is a tool that is able to create a cluster of docker nodes and deploy containers in this cluster.

186 questions
1
vote
1 answer

if i scale up a service with a bind volume , Docker swarm will create a new bind volume in the second machine ?

I created a service in docker swarm with a bind volume in specific path. If i scale up , will docker create a new service with a new bind volume (with same path) in the second machine?
1
vote
1 answer

docker node ls is showing only master node in Azure

I have created container environment in Azure. However, while running docker node ls, it is only showing LEADER node. but not showing agent node here. Please help. Thanks
1
vote
0 answers

Overlay Network on Windows Server 2016 for WSFC + SQL Server HA

I'm trying to create an Overlay Network on Windows Server 2016 to create a separate address space for Windows Server Failover Clustering (WSFC). This cluster will eventually be used to host a SQL Server HA Cluster. Reason for doing this: The 2…
1
vote
0 answers

How does load balancing / VIP works with overlay networks?

I'm trying to understand how the built-in Docker load balancing / VIP works with overlay networks. To better explain how I understand this, I've put together a diagram. My hope is that someone can confirm or reject my understanding. Let's say I've…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
1
vote
1 answer

Replicating folders in docker cluster

So I am quite new to docker, and in particular docker swarm. I've just installed jenkins and I want it to work on all nodes regardless of it running with only one instance on one machine or 10 instances on 5 machines. The problem with this is of…
munHunger
  • 363
  • 1
  • 3
  • 9
1
vote
1 answer

Using Docker Swarm to build an reverse proxy network

I have a few servers. Each of them has a lot of docker-compose projects for HTTPS Projects which use one auto discovering reverse proxy for HTTPS. A few days ago I discovered on youtube, that swarm is totally easy to setup and would give me a lot of…
1
vote
1 answer

Status: Error response from daemon: node elk12 is ambiguous (2 matches found), Code: 1

I'm using following environment: Debian 9 with Docker CE: # cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9…
alexus
  • 13,112
  • 32
  • 117
  • 174
1
vote
1 answer

Docker-Swarm 1.13 with 3 Nodes acting as Master/Worker

We are just trying out Docker-Swarm with 3 Nodes, each node is acting as Master and as Worker. This works fine, but i don't know if the following behavior is "normal". If I shutdown one of those 3 nodes, the swarm handles the reallocation of the…
opHASnoNAME
  • 645
  • 2
  • 7
  • 18
1
vote
0 answers

Configuring Azure Container Service with Docker Swarm for SSL

I have an Azure Container Service instance running Docker Swarm which contains instances of a single web application written in NodeJS. I now want to ensure all traffic comes to the website via HTTPS. I cannot find any documentation on how to set…
Baldy
  • 195
  • 2
  • 11
1
vote
1 answer

Why should we (not) load balance across multiple hosts in a Docker Swarm cluster?

We got 3 hosts in a swarm cluster and we've got a web application deployed in this cluster. The web application will run on only 1 host at any given time. If one host dies, the web application will be moved to another host. Docker will take care of…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
1
vote
1 answer

nginx proxy_pass with docker 1.12 and swarm

I'm trying to setup a docker swarm with multiple networks, so I can run a set of services (in different versions) on different networks on the swarm. I also want to access these services outside of the swarm, but do not want to fight for ports each…
1
vote
1 answer

Why won't 'docker run' on a swarm show output from a command?

I've successfully setup a Docker Swarm cluster consisting of one master and two nodes. Everything works as expected, only one thing deviates from the documentation. According to the docs (look for "Run a container on the Swarm") I should see the…
Likk
  • 111
  • 4
1
vote
1 answer

Docker Swarm and Consul production setup recommendation

I'd like to set up a production HA Docker Swarm cluster. Docker Swarm needs a Key Value store as a precondition, consul in this case. Now I'm asking what a clever setup would be: Consul should run in Docker containers Consul must be HA and…
binaryanomaly
  • 406
  • 1
  • 4
  • 14
1
vote
0 answers

How do I deploy Docker Swarm securely, without hard-coding everything?

I would like to set up Docker Swarm over a public network, and I would like to minimize the amount of reconfiguration that has to happen when workers' IP addresses change. The recommended setup requires generating a TLS certificate for each server,…
pwnall
  • 111
  • 3
1
vote
2 answers

Why does the browser client receive responses from an NGINX server at my remote address if my NGINX server is down?

I am observing some strange behavior I cannot explain. I am using chrome Version 110.0.5481.77 (Official Build) (64-bit) I am running nginx/1.22.1 to serve a bundled front end app. When I request my app bundle at IP:443 I receive an incomplete…
Anthony O
  • 111
  • 5