docker-swarm Questions

3

I’m trying to use traefik with docker swarm but i’m having troubles during service updates. I run a stack deploy or service update the service goes down for some seconds How to reproduce: 1 - Cre...

5

Solved

After running docker stack deploy to deploy some services to swarm is there a way to programmatically test if all containers started correctly? The purpose would be to verify in a staging CI/CD pi...
Mourner asked 8/7, 2018 at 20:39

4

Solved

I have a swarm cluster with one manager and another normal node , when I create a swarm service I am creating with mount type ,mount source and mount target . It creates the volume with the same na...
Batts asked 24/11, 2016 at 18:11

11

Solved

Issue: Can not stop docker containers, whenever I try to stop containers I get the following Error message, ERROR: for yattyadocker_web_1 cannot stop container: 1f04148910c5bac38983e6beb3f6da4c8be...
Lop asked 10/11, 2017 at 12:55

5

Solved

I am trying to use the same docker-compose.yml and .env files for both docker-compose and swarm. The variables from the .env file should get parsed, via sed, into a config file by running a run.sh ...

4

I've created docker swarm with a website inside swarm, publishing port 8080 outside. I want to consume that port using Nginx running outside swarm on port 80, which will perform server name resolut...
Discretionary asked 20/10, 2016 at 10:54

7

version: "3" services: mongo: image: mongo working_dir: /c/data/ ports: - 27017:27017 deploy: replicas: 1 volumes: - /c/data/:/data/db I am tried that above stack file and I'm r...
Petiole asked 22/9, 2020 at 6:27

4

I'm trying to start a mysql container with a host directory mounted. I'm running a single-node swarm in Docker for AWS. But I can't mount a directory... This is the section of the docker-compose f...
Moonier asked 7/7, 2017 at 15:41

4

Good morning, I'm approaching docker swarm now and I'm having trouble finding some information. My goal is to create a gitlab or travis deployment to my swarm cluster, I created my manager node wit...
Montsaintmichel asked 11/2, 2018 at 11:2

2

What is the meaning and the cause of error "Context deadline exceeded or context deadline unknown" when using docker, with docker stack deploy? I see many posts with this error in differe...
Intermediary asked 12/4, 2021 at 11:46

4

Solved

This stuff is really getting confused now. Can someone please explain what's going on. Just the straight one liner difference. dockerd libcontainerd containerd docker-containerd docker-runc docke...
Pinwork asked 9/10, 2017 at 15:7

8

I run command docker system prune yesterday, it took some time and then my SSH session was disconnected from different reason. Unfortunately I am getting now: Error response from daemon: a prune ...
Dhahran asked 28/2, 2018 at 8:24

3

Solved

Currently, I run a simple docker container by using the following files. DockerFile FROM microsoft/aspnet:4.7.1 WORKDIR /inetpub/wwwroot EXPOSE 80 COPY index.html . docker-compose.yml version:...
Lactescent asked 12/6, 2018 at 6:2

4

I have a swarm cluster wherein different technology dockers are deployed. (Zookeeper, Kafka, Elastic, Storm and custom web application) Web application goes under tremendous changes and have to up...
Agram asked 18/5, 2017 at 15:30

2

I have a docker host that has set a net.ipv4.tcp_keepalive_time kernel parameter to 600. But when a container runs, it uses a different value: $ sysctl net.ipv4.tcp_keepalive_time net.ipv4.tcp_ke...
Clientele asked 6/2, 2019 at 11:17

4

I met this issue when deploying my application on Docker Swarm. I run docker stack deploy -c /path and get error network sandbox join failed: subnet sandbox join failed for "10.0.0.0/24":...
Weir asked 1/9, 2020 at 7:46

1

I need copy some files from the container running on worker node to manager host. This operation I need to do staying on manager. In other words how to access to the container running on worker no...
Properly asked 1/6, 2020 at 7:14

4

I'm using RabbitMQ in a docker swarm which has multiple services, all the other services are starting up fine, but the RabbitMQ container doesn't, and the logs show the following error: Failed to c...
Paramedical asked 17/7, 2023 at 11:26

6

Solved

We have a networking problem in docker-swarm. The problem is below; we have virtualized environment over wmware ( vsphere 6.02) our servers are created from vmware say server1 and server2 we have...
Freighter asked 12/5, 2017 at 8:39

3

Solved

I use a docker swarm 1.13.1, and when I init the docker swarm or join to docker swarm sometimes it creates a docker_gwbridge network in a "172.19.0.0/16" subnet. But my computer subnet is in the s...
Fid asked 22/3, 2017 at 14:7

1

version: '3' x-airflow-common: &airflow-common # In order to add custom dependencies or upgrade provider packages you can use your extended image. # Comment the image line, place your Docker...
Coif asked 14/7, 2022 at 4:20

7

Solved

I am using docker swarm and would like to deploy a service with docker-compose. My service uses a custom image called myuser/myrepo:mytag that I successfully deploy to Docker-Hub to a private repos...
Hayleyhayloft asked 24/11, 2017 at 9:29

4

We've been experiencing a long-standing networking issue. In short, one container cannot ping (or ssh) another. Does anybody have an extra moment to think along with me? Our setup: Docker CE 18....
Headwater asked 11/12, 2019 at 1:16

7

Solved

I am running my containers on the docker swarm. asset-frontend service is my frontend application which is running Nginx inside the container and exposing port 80. now if I do curl http://10.25...
Malachite asked 23/11, 2019 at 12:45

4

Solved

Is there a way to use Docker secrets to read from /run/secrets/redis-pass and set the redis --requirepass flag? For example: On a swarm manager set the redis-pass, then use docker stack deploy -c...
Passion asked 20/6, 2017 at 0:48

© 2022 - 2024 — McMap. All rights reserved.