Questions tagged [swarm]

Swarm is a web-based code review and collaboration tool for Perforce.

320 questions
15
votes
2 answers

Kubernetes node Device port (USB) mapping to POD? Or Swarm service --device mapping

Is it possible to map, the device port(USB port) of a worker node, to a POD? Similar to docker create --device=/dev/ttyACM0:/dev/ttyACM0 Is it possible? I checked the refence doc, but could not find anything. In Docker service, is it possible to map…
jisan
  • 223
  • 1
  • 2
  • 6
13
votes
1 answer

Static IP address doesn't work in docker compose v3

From the official document, the static ip address should work with docker compose v3 + docker swarm. But I cannot make it work. This is my docker compose yaml: version: '3' networks: test: ipam: driver: default config: - subnet:…
PunCha
  • 258
  • 2
  • 11
12
votes
2 answers

What is the difference between using Docker Machine with Swarm and using Swarm through the Docker daemon?

What exactly is the difference between having multiple docker machines in a swarm (a manager and many nodes) and having multiple replicas of a docker service in a swarm?
Alexander George
  • 871
  • 9
  • 22
11
votes
4 answers

Best practices to promote docker images across dev,qa,uat and production

Our application is containerized and using docker swarm as an orchestrator. I wanted to understand how do we promote docker images from dev, qa, uat and to production. For example, if I have an image created in dev as test:10 (10 is the build number…
10
votes
3 answers

Increase /dev/shm in docker container in swarm environment (docker stack deploy)

I know is possible to increase default 64MB /dev/shm in docker container from docker run or docker compose. As example this works in our local development machines. version: '3.5' services: postgres: image: postgres shm_size:…
Gonzalo Cao
  • 2,286
  • 1
  • 24
  • 20
9
votes
2 answers

can not use user-defined bridge in swarm compose yaml file

I learned from docker documentation that I can not use docker DNS to find containers using their hostnames without utilizing user-defined bridge network. I created one using the command: docker network create --driver=overlay --subnet=172.22.0.0/16…
tkyass
  • 2,968
  • 8
  • 38
  • 57
8
votes
1 answer

Rancher & Docker Failed to get ping from agent

I am facing another issue with Rancher & Docker. I've installed the Rancher Server and then, in another server, a Rancher Agent using the command provided from Rancher Server. I can see the node in the host section but every 5 minutes rancher…
devops85
  • 211
  • 1
  • 12
7
votes
1 answer

Wrong IP address in docker swarm service

I have very weird problem: I have the swarm cluster and one of my service have wrong ip: $ docker service inspect nginx_backend | grep Addr "Addr": "10.0.0.107/24" From any container in the cluster: / # ping nginx_backend PING…
Kealman
  • 113
  • 1
  • 7
6
votes
1 answer

Wildfly-Swarm and connection to external activemq via resource adapter: WFLYCTL0412

So I've already spent considerable time on this, but now have come to a point where I'm completely at my wits end... The requirement: I'm trying to connect a wildfly 10.1.0 based message driven bean to an external activemq 5.15.0 server (the 'old'…
bahkauv
  • 131
  • 7
5
votes
1 answer

exec_start, exec_die events happening frequently

I have a bunch of containers that are running using swarm. when i monitor the docker events i see lots of exec_create -> exec_start -> exec_die events whenever a HEALTHCHECK is run. However, the containers aren't restarted. The uptime is in days.…
Prasanna
  • 10,956
  • 2
  • 28
  • 40
5
votes
3 answers

Disable external node service accessibility in docker swarm

I have a docker swarm with 2 nodes and each node run 2 services in global mode so each node have 2 services running inside it. My problem is how to force ubuntu service in node1 only connect to mysql service in node1 and dont use round-robin method…
Kibo
  • 870
  • 1
  • 15
  • 30
5
votes
2 answers

Traefik: "No ACME certificate generation required for domains" in the logs while using the default cert

I'm struggling with Let's Encrypt setup for my Docker Swarm. Traefik is started this way in my stack's compose file: image: traefik:v2.2 ports: - 80:80 - 443:443 - 8080:8080 command: - --api -…
Jean Claveau
  • 1,101
  • 1
  • 13
  • 15
5
votes
2 answers

Traefik 2.0 "port is missing" for internal dashboard

I'm trying to use traefik 2.0 (!) in docker swarm mode. This is my stack: version: '3.7' services: traefik: image: traefik:latest ports: - 80:80 - 443:443 deploy: replicas: 1 placement: constraints: …
xsrf
  • 564
  • 5
  • 18
5
votes
4 answers

Docker_swarm module - join_token parameter for ansible not working

This is my ansible playbook, the tasks are copied from docker_swarm module documentation so it should work: - name: Init a new swarm with default parameters docker_swarm: state: present advertise_addr: "{{ manager_ip }}:2377" …
CzipO2
  • 403
  • 1
  • 6
  • 15
5
votes
0 answers

How to fix “unexpected directory layout” error when Installing go-ethereum?

All, I hope this question belongs here. I am following a Blockgeeks tutorial, trying to set up my environment for Ethereum blockchain development. I have basically gotten to the final step, installing swarm, but I am receiving an error that seems to…
dillon.harless
  • 427
  • 4
  • 16
1
2 3
21 22