Questions tagged [docker-swarm]

Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.

3,018 questions
0votes
0answers
6views

Problems using MariaDB in Docker Swarm with NFS

I have problems using MariaDB within a Docker Swarm using an nfs share. The database suddenly stops accepting new connections after fdatasync() failed. This happens randomly. Aftera few hours or ...
-1votes
0answers
15views

Docker swarm - network problem, service in master has two addresses

I am trying to configure a test trino cluster with docker swarm but I have some issue in networking. I have created a network manually: docker network create -d overlay production-net-swarm --...
0votes
0answers
13views

Docker Swarm - Unable to bind port

Trying to run a custom application container on a docker swarm node and unable to bind the port to the host IP address. It works fine in the --net=host mode. However I am unable to use host mode due ...
0votes
0answers
25views

HAProxy setting when frontend and backend are docker services

I have the following architecture of the application: One frontend service with one replica that serves to accept requests from the Internet. This service has an open external port, through which the ...
0votes
0answers
24views

Why tutorials say that in terms of docker swarm task = running container?

How I understand the part I understand. ) Docker service command replaces docker run command. Docker run is about single container. Docker service is about running multiple containers as one managable ...
1vote
0answers
23views

Docker run vs docker service - automatic container restart

In many articles, video tutorials I've seen such explanation of one of main (so important that it warrant highlighting) points of difference between docker run and docker service commands: "That ...
0votes
0answers
12views

Benefits of Docker stack vs docker service create

I have been curious since I just finished a course on Docker, and it was stated that docker stack deploy is the preferred practice for production. Is there any benefit to use docker stack deploy for 3 ...
0votes
0answers
14views

Can we create a docker service with an exiting tar file?

I am trying to create a docker service with the command docker service create --name myimage --replicas 3 <tar file name> instead of actual image name which is there in the docker repository , ...
0votes
0answers
5views

Enabling EnableIPv6 option for the docker Host network

When I start docker, it creates two networks (host and bridge). I need my host-bound Traefik instance to see the real external IPv6, but the EnableIPv6 option when doing docker network inspect host is ...
0votes
0answers
32views

How do I recover Docker Swarm cluster after certificate expired

I had setup a working Docker Swarm cluster, but after several months I am trying to get back to using this cluster and I noticed nothing works. Upon troubleshooting to find out what is going on, I ...
0votes
1answer
43views

Docker Compose GPU Support: services.*.deploy.resources.reservations Additional property devices is not allowed

Versions of Docker tooling: Docker Compose version v2.6.0 Docker Engine Version 20.10.17 (client) Docker Engine Version 20.10.17 (server) I've got a compose file that starts a swarm with networks and ...
0votes
0answers
15views

Cron Docker container not rebooting properly after unattended upgrades

Disclaimer, I have very little experience with Docker and servers in general. Most of the server-related things I do by following manuals created by former employees and a lot of Googling. We are ...
0votes
0answers
34views

Best practise of storing stack *.yml files in Docker Swarm

I have a Docker Swarm running (spread over three nodes), and pulling images from my private dockerhub repo. So I can have multiple web applications spread over the same swarm, I'm using Traefik as a ...
0votes
0answers
24views

Spark Cluster on docker swarm Worker web UI issue

Hi I'm facing issue with start spark cluster on docker swarm I've already created a few o clusters on docker swarm but right now I don't know why I couldn't reach worker UI on dedicated port . I have ...
0votes
0answers
28views

Reverse proxy partially works on docker swarm

I setup a docker swarm with 3 nodes : s1 : manager + worker s2 : worker s3 : worker I deployed a nginx as a reverse proxy to a docker swarm service on each node with publishing port as mode=host to ...

153050per page