Questions tagged [docker-swarm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

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 ...
0
votes
0answers
3 views

Docker toolbox quick start failed

I’ve downloaded docker on my PC, but it is not installing as I’m getting some errors: ERROR WITH PRE-CREATE CHECK - this computer doesn't have VT-X/AMD-v enabled. Enabling it in BIOS is mandatory. ...
0
votes
0answers
26 views

missing docker service logs

I create simple yaml for my service it's splitter between two files docker-compose.yml and docker-stack.yml and both are used to deploy it to swarm cluster, I see logs on replicas using docker logs -...
0
votes
1answer
19 views

Docker-swarm usage of constraint for production and development

I am making docker-swarm project in local. For now, I have nodes by docker for simulating like these yml at the bottom, each has node01 node02. then now I want to use constraint deploy: replicas: ...
0
votes
1answer
17 views

port forwarding service -> container

I have one service which contains one container. in container there is django server with port 8000 open. And my service and container environment is here below docker container ls CONTAINER ID ...
0
votes
1answer
30 views

The simple way to access the docker-swarm inside node

I used expose in docker file and open the port. However still problem occurs though, @BMitch's answer ports is also the necessary solution in this case. For now, My first problem is solved. thank ...
0
votes
1answer
24 views

how should I set the volume of docker-swarm

I am planning to move docker-compose to docker-swarm for multi nodes. I have used docker-compose like this below version: '3' services: python: container_name: python build: ./python ...
0
votes
1answer
88 views

How should I set up volumes for multi-task database service in docker swarm?

I am new to Docker and I want to do mini-project with Docker Swarm. I built docker image with my Django app. In dockerfile I added project files, migrated all models, and then ran server. Now it is ...
1
vote
1answer
42 views

VMWare Player fails after installing Docker

Not sure if this is just my issue, but after I have installed Docker on my Machine, when I try to launch my VM i get the following: "VMware Player can be run after disabling Device/Credential Guard"...
0
votes
0answers
29 views

Docker Service causes an issue that the host nginx doesn't work redirect http to https

For example I've the domain www.example.com. I forced the redirection from http to https using nginx to prevent MITM(man in the middle attack). My configuration for nginx of the host is like the ...
0
votes
0answers
15 views

Container access inside the swarm is too slow

I have a swarm network with 3 managers and a wordpress container that runs on manager1. When I try to access from manager1 ip or manager3 ip, it takes too long to respond, if I use the manager2 ip it ...
0
votes
1answer
217 views

Change docker dns option on docker-compose

Problem: My container not find others hosts outside the swarm if ndots=0 on resolv.conf .I did some tests and if a remove or change ndots to 1 works. There's some way to delete or change the option ...
0
votes
1answer
183 views

Is there a limit on Docker Swarm overlay networks' bandwidth?

I am running an eperiments which includes around 20 containers heavily communicating with each other through TCP, grpcs, etc. I use Docker stack command to start the containers on an overlay network. ...
0
votes
1answer
31 views

Docker SDK: Can't get accurate number of containers on Worker node from Leader node

I have a swarm with three Managers and one Worker. I also have a monitor_service that tries to use the Docker SDK for Python to get the actual number of containers in a tracked_service. This ...
0
votes
0answers
24 views

Docker stack command getting the wrong image

When doing the following in one of my staging servers, one of the services described in the docker-compose file will get a wrong/outdated image: docker stack deploy -c docker-compose.yml builder If ...
0
votes
0answers
4 views

Is there a way to restrict number of docker containers on an EC2 node?

Suppose i have a service "APP" running as a docker container with 10 replicas. I want all the 10 replicas (containers) running on individual ec2 nodes i.e 10 ec2 instances for 10 replicas. I am using ...
0
votes
0answers
173 views

Docker Swarm and Windows nodes persistent storage

We have a Docker Swarm cluster with Linux and Windows nodes. Currently we use Docker version 19.03.1, build 74b1e89. On the Linux nodes, we use NFS storage but this seems not possible on the Windows ...
0
votes
0answers
17 views

Container network model - Libnetwork - Single host networking

Created a single host network(ps-bridge): $ docker network ls NETWORK ID NAME DRIVER SCOPE 01dcce0fbdcf bridge(docker0) bridge local ...
0
votes
0answers
42 views

How br0 interface works with docker_gwbridge?

On saying, docker swarm init an extra interface is created by name docker_gwbridge br0 gets created on each container. Am unable to visualise, How docker_gwbridge is used for multi host networking? ...
0
votes
0answers
26 views

Does Docker Swarm implements “cached” on volume binds?

I have a rest service that does a lot of accesses to file atributes, specially modification dates. The development machine is Mac OS. The service uses a volume mount bind. Initially the docker ...
0
votes
0answers
18 views

How to set delay to for a ready container in docker

I have a service using replicas mode called A, another service called B connect to service A. When I increase replicas from service A, at service B I get 502 or 503 error because service A needs x ...
1
vote
0answers
86 views

Windows Container - Using the “--mount” option when creating a service seems to make the run fail

I have a Docker Swarm cluster with cloud VMs and when I'm trying to run a container with the "--mount" options instead of the "-v" option (because it doesn't exist on docker service create, I get the ...
0
votes
0answers
106 views

How to scale Rasa NLU for production?

We’ve been using Rasa in development for a while now for a chatbot service, in Docker Swarm with 1 replica. However after scaling up Rasa to 2 replicas, when training data, only one of the 2 replicas ...
0
votes
1answer
329 views

Docker Swarm deployment using Ansible. Passing hostvars as variables

I have a Problem with my Ansible Playbook for Docker Swarm deployment. This is my hosts file: --- all: hosts: ansible01: connection: local children: docker_swarm_manager_init: ...
0
votes
0answers
192 views

Docker swarm with traefik, traefik wont pick up service

So, I followed this tutorial: https://medium.com/@tiangolo/docker-swarm-mode-and-traefik-for-a-https-cluster-20328dba6232 So far, it seems to work. But now I want to run my gitlab but I can not get ...
1
vote
0answers
95 views

Access IPv6-only networks from Docker Swarm

I have a question regarding IPv6 and Swarm. While I know Docker Swarm don't support IPv6 overlay networks, I was wondering if there was a way to access IPv6-only (no dual-stack so no IPv4 here) from a ...
0
votes
0answers
444 views

Docker Swarm : Nodes status still DOWN after servers restart

I ve a swarm cluster containing 4 nodes : 1 Manager + 3 Workers When restarting one worker'server , it's status becomes "DOWN" when running : docker node ls Also alredy deployed services shutdown ...
1
vote
1answer
55 views

Jenkins Swarm Slave

I have a question concerning Jenkins Build Server. When Jenkins slaves are tasked with building or compiling do the slaves need the necessary software installed on them? For example, if I am using an ...
0
votes
0answers
183 views

Docker Swarm: How to connect to a MySQL server outside the Swarm

I followed the tutorial from Docker Swarm and I have my app running without any issues inside the server. The problem is that I want to use the DB that is already setup in the server itself (outside ...
4
votes
1answer
723 views

IPv6 does not work in Docker swarm?

I have an Ubuntu server 16.04 LTS running both IPv4 and IPv6 (dual-stack). This server is also running Docker. However, I have problems whenever I try to access the containers in the swarm, but only ...
0
votes
0answers
370 views

Network placement of Docker managers and workers

I have a classic segmented network (a DMZ network and an internal LAN network with a router/firewall in between) and a Docker Swarm cluster compound by 3 nodes, all managers (Dm). The way we have ...
0
votes
1answer
144 views

Invalid AWS role or insufficient permissions

I followed the Link Amazon Web Services to Docker Cloud article step-by-step and successfully generated a role ARN, but when I enter the ARN to link my docker cloud account, I'm getting the following ...
0
votes
1answer
1k views

docker swarm with heterogenous nodes: limit by available resources?

I have a small docker swarm running in my office: one 40-core (128GB RAM) and two 8-core (16GB RAM each). When I deploy a service across the swarm, the jobs are running, but they are spread evenly ...
1
vote
1answer
573 views

When using docker swarm node in the overlay network I lost connectivity if connecting from another host

Created my service using the following command with docker: docker service create --mount type=bind,src=/tmp/postgres,dst=/var/lib/postgresql/data --name dev_db --network mynetwork -p 5432:5432 -d ...
0
votes
0answers
277 views

How to combine multiple applications with Docker?

Given the following setup of applications: App A: Docker-compose with a PostgreSQL image and a custom app image which uses that PostgreSQL image App B: Docker-compose with a PostgreSQL image and a ...
7
votes
1answer
5k views

How do I properly resolve the IP of another container in a Docker Swarm? (DNS)

I'm playing with deploying services in a Docker Swarm. I'm having trouble letting a container consistently connect to a container on a different node. Let's say I'm building a GlusterFS pool; I need ...