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

Docker swarm, all containers get restarted

We are running Docker swarm mode in production, having 4 nodes, 3 of them share the manager status. We've noticed that once in a few days all the containers on one of the hosts are got restarted. I've looked into syslog at that time and could see…
saabeilin
  • 419
  • 1
  • 4
  • 12
2
votes
1 answer

How do I list Docker VIP addresses?

I can list all container IP address inside a docker overlay network using: ~# docker network inspect I'm trying to do resolver troubleshooting in some Docker swarm stack. It seems that resolving is done to the wrong IP address, but I…
Tim
  • 123
  • 1
  • 6
2
votes
2 answers

Automatically login on Amazon ECR with Docker Swarm

We have Docker images hosted on Amazon ECR and the goal is to run them on EC2 instances using Docker Swarm. The services are configured in global mode so that they are automatically replicated on new nodes. An auto-scaling group can automatically…
P_W999
  • 281
  • 1
  • 10
2
votes
2 answers

Publish Docker Swarm services on specific IP addresses

On Centos 7.4 I am setting up a swarm where I want to run multiple routers all reachable on port 80/443. The purpose is to host multiple environment (test/staging...) on a single swarm, all symmetrically. I am using Docker 17.12.0-ce and Traefik…
Seemone
  • 23
  • 1
  • 4
2
votes
1 answer

Am I missing a step in imagick php installation on Docker?

I have the following in a Dockerfile for a container running PHP5.x: RUN apt-get install -y php5-imagick libmagickwand-dev libmagickcore-dev RUN pecl install imagick RUN echo "extension=`php -i | grep ^extension_dir | cut -f 3 -d ' '`/imagick.so" >>…
2
votes
1 answer

Why is a physical interface not part of the docker_gwbridge?

When I look at the docker_gwbridge, I see that all containers on that host are members of the bridge. bridge name bridge id STP enabled interfaces docker_gwbridge 8000.0242e581b3f5 no veth0987748 …
sbrattla
  • 1,578
  • 4
  • 28
  • 52
2
votes
1 answer

Does Docker Swarm migrate resource hungry containers to other nodes?

Let's assume a 3 node Docker cluster. One one of these nodes, resources are tight. A couple of services which can be quite greedy in terms of CPU or RAM happened to start on the same host. Will Docker at any point check if the other nodes have less…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
2
votes
1 answer

Docker Bitbucket start stop at: c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities

Im trying to start a bitbucketserver. Im behind a proxy and I set the proxy configuration. Every time I try to start the container, spring stop here: c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities Have I to configure…
2
votes
1 answer

Architecting a Docker Swarm with persistent storage

I'm having a small amount of trouble pinning down exactly how I want to architect my Docker Swarm cluster. Currently it consists of: 1 MariaDB which will need to have persistent storage suitable for a database. 2 x MediaWiki servers which will need…
Samuel
  • 177
  • 2
  • 6
2
votes
0 answers

Docker Swarm Mode network and load balancing doesn't work for my second service

My setup Two nodes (2GB RAM, 2 vCPU) running docker engine (v17.06.1-ce) -- one swarm and one worker. Internal network bandwidth: 10Gbps. All files and databases are located outside this docker cluster (AWS S3 and different instances for…
Gasim
  • 977
  • 4
  • 14
  • 23
2
votes
1 answer

Communication to containers not always possible

I have a couple of services running in a docker swarm on a single docker host. All services run in the same overlay network. These services all expose a different port on which a web server is available. The docker-host runs CoreOS (1520.0.0 Alpha…
André
  • 71
  • 3
2
votes
1 answer

What's the common practice of managing the external IP of a docker swarm?

I am creating a docker swarm with 3 managers and 2 workers. A service is running in the swarm and exposes port 80. So we can hit the service with any node's ip. But what if the node goes down? Expecting a user always to try another node's ip would…
wei
  • 605
  • 1
  • 7
  • 11
2
votes
1 answer

How to do Failover and load balancing with Swarm

We are using docker since 1 1/2 Year with "single Host" Setups without trouble. But now we want to go further and use the Docker Swarm (latest version). Our old setup was just, single hosts with nginx as Reverse-Proxys and some magic to update the…
opHASnoNAME
  • 645
  • 2
  • 7
  • 18
2
votes
0 answers

Docker Swarm over IPSec VTI (Unifi site-to-site)

I have setup a Docker Swarm using 3 servers; Master node Home - local IP 192.168.178.250 Worker node 1 Remote - local IP 10.10.10.200 Worker node 2 Remote - local IP 10.10.10.250 Both sites have a Unifi gateway (USG Pro/USG) and I've setup a…
GRX
  • 71
  • 4
2
votes
1 answer

How to query by service name with endpoint_mode=dnsrr from host network

I'm configuring some databases in a swarm cluster environment to use endpoint-mode = dnsrr Documentation says (https://docs.docker.com/network/overlay/): "A DNS query for the service name on the Docker host returns a list of IP addresses for the…
PRF
  • 141
  • 2
1 2
3
12 13