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

Debugging port forwarding in Docker

Manager I have a docker swarm setup on a mesh VPN. My manager is on 10.0.0.1. I have run: docker swarm init --advertise-addr=wg0 which then uses the VPN IP to listen on 10.0.0.1 opposed to the default public IP. Worker On my worker 10.0.0.2 I can…
maxisme
  • 159
  • 1
  • 10
1
vote
0 answers

Docker external network affecting local host network on container restart : ERR_NETWORK_CHANGED

I am facing a weird issue with the docker networks. I am using an external network of bridge type named extenal_network in my docker containers with auto-restart enabled. I am not able to access my host network if any of the containers restarts due…
1
vote
1 answer

nginx reverse proxy with authentication header

I'm trying to configure nginx to run as a reverse proxy for two applications: a web frontend (IIS) and a .NET Core backend (Kestrel), all running in a docker swarm. I'm rewriting all calls to /api to the backend and all other calls to the frontend.…
JDT
  • 143
  • 1
  • 7
1
vote
0 answers

DBeaver/pgadmin connect db thru a jump server

I am using docker swarm to manage my stacks. And I dont want to expose my databases to the public (5432 port on the host machine should not be open), but I still want to use dbeaver or pgadmin. The problem is that docker swarm cannot expose a…
Greeneco
  • 111
  • 2
1
vote
1 answer

Docker swarm manager and node simultaneously

Due to limitations in physical ressources, I need to know if is it possible to declare the same host as manager and node at the same time? I can't find anything in the official documentation. In case of it is technically possible, is that a good…
1
vote
0 answers

How to store Vault audit logs when running vault in a Docker container

I'm researching the various audit devices for Hashicorp Vault. My goal is to run Vault in a Docker environment (currently Docker Swarm). The File method is fairly straightforward, but I'm also interested in syslog. Has anyone successfully used the…
wsams
  • 121
  • 6
1
vote
0 answers

Docker Swarm Overlay network - encrypted containers can not communicate

I am looking for help debugging the following setup: I have 3 VPs Cloud instances from a hosting company. (I believe the VPS's are VMWare but I can't find any documentation on the host companies site.) All are running Ubuntu 18.04. I have installed…
Robert3452
  • 113
  • 5
0
votes
2 answers

What certificate does docker swarm join use?

I am trying to setup a docker swarm. I need my nodes to communicate via TLS. I have created a cert for the manager node with extendedKeyUsage = serverAuth I have configured the manager node with the following daemon.json: { "hosts":…
Robert3452
  • 113
  • 5
0
votes
0 answers

Troubleshooting Docker Swarm cURL docker service across nodes via overlay network

I have setup a 3-node Docker Swarm. I can ping but cannot curl a docker service that ends up deployed on Host B from within a docker container on Host A. What am I missing? What else can I do to troubleshoot? The host environment: one manager, two…
0
votes
0 answers

Docker Swarm DNS orphaned IP address

System information: Docker Engine Version: 17.06.2-ee-6 My team and I have been observing peculiar behaviour in our Docker cluster recently, where a REST request to a service (here: myservice) has failed randomly with a refused connection. We…
0
votes
1 answer

Docker swarm - centOS - nginx

I am running docker swarm with a current setup swarm.abc.com (lets say 192.168.1.1) - master node1.abc.com - child node2.abc.com - child I have a container running in the swarm running on port 888. If I connect to the 192.168.1.1:888 - I can…
Branislav B.
  • 125
  • 4
0
votes
0 answers

How to prevent Swarm nodes from freezing?

I run 3 Swarm nodes, one on-premises 2-core manager, and two smaller worker ones (2-core) on AWS. Today I experienced a DNS issue, and the manager lost connection to the workers. After the manager was back up, it tried to run all the services on…
0
votes
0 answers

Docker swarm: One container per connection?

How would you implement a system that allocates one docker container per connection? For example, the service receives a connection on port $x. I would like to route that connection to a single container in my swarm, and that container will handle…
trbabb
  • 131
  • 3
0
votes
1 answer

How docker stack deploy works?

I am new to docker swarm and want to understand, how docker stack deploy works version: '3' services: web: image: nginx ports: - "80:80" redis: image: "redis:alpine" When I run this command, it works perfectly fine $ docker stack deploy -c…
Prashant Lakhera
  • 713
  • 2
  • 10
  • 25
0
votes
2 answers

Docker swarm, list all container status

I have couple of nodes in docker swarm but both the nodes shows only container running on them when "docker stats" command is run But i would like list container stats (cpu,memory) from all nodes when docker stats is run on any one of the node. Is…
Karthick
  • 1
  • 2