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

Accessing different host's docker containers via portainer

I have a few containers (running various services) on my ubuntu server and i manage those containers via portainer, which is also one of these containers. I would like to also manage a pihole container (running on a different server (raspberry pi))…
2
votes
0 answers

Time-based rotation of Docker logs

We are running a stack of Docker Swarm services and, according to our Privacy Policy, we have to keep logs only for the last 6 months, but no older. I was trying to achieve it through different logging drivers, but all of them (AFAIK) work only with…
1
vote
0 answers

DR for Docker persistent storage on NFS

At the moment we have a Docker Swarm setup with DTR, UCP etc using a local NFS server for DTR and persistent storage. We would like to have a DR setup at a remote data center which has high speed connectivity with primary site. We are planning to…
Debianuser
  • 421
  • 4
  • 12
  • 29
1
vote
1 answer

Docker Swarm and Netfilter

I have deployed a Docker Swarm server on my VPS, to handle an Asp.Net Core application. I want to serve this app through a Nginx web server. Let's suppose my web app is a vanilla app I created through .Net Core CLI command: dotnet new webapp…
1
vote
0 answers

Docker Swarm's overlay network DNS consistently resolving hostnames to an IP address one number lower than a container's actual IP

I'm having a very odd reproducible issue with Docker Swarm. I'm attempting to deploy a Dgraph server cluster via Docker Swarm across four LXD containers. For context, Dgraph Zero is the control server and each Dgraph Alpha server does the lifting…
1
vote
0 answers

Overlay network in docker swarm not working

This is my setup: https://github.com/czpo/docker-reverse-proxy So there is a simple nginx/php stack called "site1" on the worker, and when I put a reverse proxy on the worker node it will load that site in the browser. But if I put the RP on a…
1
vote
0 answers

MariaDB connection refuse docker compose

I'm gonna try to explain what my recently found headache is. First of all I'm using Gitlab CI so docker and docker in docker is involved. The structure of the CI is basically this and all running dind: Stand UP 3 services for 3 different databases…
1
vote
0 answers

Docker Swarm global service missing on one node

On a Docker Swarm running on Amazon Web Services, it has happened several times that a globally deployed service go missing on a single node of the swarm, and docker node update --force does not bring it back on all nodes. Here is the situation…
jpsecher
  • 111
  • 7
1
vote
1 answer

Docker Storage in AWS. S3, EBS or EFS

I have just moved companies and I am building a new docker swarm on aws. In my last organisation everything was on premises. I am trying to understand my options for persistent volumes, and see that rexray now offer docker certified plugins for all…
1
vote
0 answers

Docker UDP 'response'

Simply put, I have 2 containers for a service in a swarm mode. Container receives udp packets and sends them back to multiple clients, which ip's and ports are stored in db. Load-balancing: packets from one IP go to same container. So, here is the…
Flame239
  • 11
  • 3
1
vote
0 answers

Docker Swarm mesh ports limit only to worker nodes?

I am trying out current release of Docker Swarm as a solution for easy deployment of our application. One concern we have is manager nodes security, so we try to separate them as much as possible. And from what it looks is that ALL nodes participate…
Alexey Kamenskiy
  • 794
  • 1
  • 9
  • 23
1
vote
1 answer

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be present since 3.12 (that's the first version that…
Archimedes Trajano
  • 505
  • 2
  • 8
  • 20
1
vote
1 answer

Deploying a php/laravel app with nginx in Docker swarm yields blank page and no errors

I have a Laravel application which I plan to deploy on a Docker Swarm. The problem is that no matter what I do I get a blank page when calling localhost/index.php. I'm using 2 separate services for: Laravel App (php-fpm) Nginx Some notes which…
2hamed
  • 479
  • 1
  • 5
  • 23
1
vote
0 answers

Docker cannot route OpenVPN clients to stack containers

I have a docker cluster with an OpenVPN container as an access server and a dns container as a forwarder. All containers are connected to a docker overlay network called vpn, but some run as a docker swarm stack and others are running independently…
Ammar Lakis
  • 176
  • 1
  • 1
  • 9
1
vote
1 answer

Docker Stack Deploy Does Not Work

i am trying to deploy a stack to my docker swarm but it does not work. i call the command sudo docker stack deploy -c docker-compose.yml server-test but it gives me the error unsupported Compose file version: 2 but when i run docker-compose up, it…
X0r0N
  • 245
  • 1
  • 3
  • 7