Questions tagged [docker-swarm]

The tag has no usage guidance.

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

Docker Swarm + servers of different providers = Gateway Timeout 504

I have a cluster of Swarm nodes: N10 and N11, hosted by provider P1 (some datacenter) N20 and N21, hosted by provider P2 (some other datacenter) Traefik is deployed on N10: if my service is ...
0
votes
1answer
23 views

What conditions does docker swarm use to redirect to a container?

I am using docker swarm with multiple notes and multiple instances of one docker image. As far as I know is there no influence about which container I interact with after a request. But how does the ...
0
votes
0answers
16 views

Docker swarm on multiple physical machines

I am deploying Hyperledger Fabric in a distributed environment using instructions from here. To achieve distributed setting Docker Swarm is required. One of my node is on the remote (which is my ...
0
votes
0answers
30 views

Forwarding incoming connections on a VPS to a home router

The config I'm thinking of is as follows: VPS with public static ip DNS pointing some domains to the public ip of the VPS Home router with two internet connections for redundancy Stack of tiny ...
0
votes
1answer
10 views

How do I access host network namespaces from inside a container deployed in a swarm?

I'd like to globally deploy a container on my swarm that applies some iptables rules to the host's networks. Specifically, I want to add rules to some overlay networks, which appear to be in a unique ...
0
votes
0answers
10 views

Docker Swarm service not deployed to worker nodes

I'm doing some fiddling on Docker Swarm to create a load balance for a Minecraft server. I created a service that uses a mount type bind for the data, but when i create the service it is only ...
2
votes
0answers
9 views

All published services within a docker swarm are unreachable while containers deployed normally work fine

I've run into an issue that seems similar too this one; https://forums.docker.com/t/cant-access-service-in-swarm/63876. My setup is a little bit different though and I haven't found a solution to my ...
0
votes
0answers
24 views

Docker swarm manager port itself is not accessible

On the office local network, I start: docker swarm init --listen-addr 10.208.6.84:2377 However, I next do this: $ sudo lsof -i TCP:2377 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ...
0
votes
0answers
43 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
82 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
1answer
288 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
65 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
140 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 ...
1
vote
1answer
132 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
415 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
526 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
1answer
437 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
429 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
57 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
19 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
99 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
1answer
717 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: ...
1
vote
0answers
152 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 ...
1
vote
1answer
58 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 ...
7
votes
2answers
1k 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
452 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
147 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 ...
1
vote
1answer
2k 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
652 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
285 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 ...
9
votes
1answer
7k 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 ...