docker-stack Questions

6

Solved

I used to externalized my image versions to my .env file. This make it easy to maintain and I don't modify my docker-compose.yml file just to upgrade a version, so I'm sure I won't delete a line by...
Longshore asked 22/6, 2017 at 8:52

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 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

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

5

Trying to deploy the laravel application on docker stack .What I am confused or not able to figure out is where can I run this php artisan migrate:fresh to generate the tables required in mysql...
Superficies asked 18/2, 2018 at 10:50

3

Solved

I'm running a Docker stack using a custom image which I have pushed to an Artifactory repository. docker-compose.yml: version: "3" services: app: image: repo.example.com/my_image:latest I ca...
This asked 6/8, 2019 at 15:33

2

Solved

I have a docker-compose.yml something like bellow: networks: smstake: ipam: config: - subnet: 10.0.10.0/24 services: app: image: smstake:latest ports: - 8000:80 networks: - smstake d...

6

Solved

For clarification, when I say base image, I mean the parent image that has all the common configurations, so that the children based on it don't need to download the dependencies individually. Fro...
Camenae asked 18/7, 2017 at 17:34

3

Solved

How does mixing named volumes and bind mounts work? Using the following setup will the paths that are being bind mounted still be available inside the bind mount as they exist in the bind mount? /...
Gabfest asked 15/1, 2018 at 10:8

1

I created a docker compose *.yml file where I have many services with specified image tags. Then I let docker deploy a stack for me (on my local machine) with docker stack deploy -c .\my-compose-fi...
Diadem asked 11/2, 2021 at 10:34

4

Solved

When deploying a stack of this compose file using: docker stack deploy -c docker-compose.yml myapp service-name: image: service-image namelike-property: my-custom-service-name // here I would l...
Boesch asked 3/10, 2017 at 14:2

5

Solved

I just read Docker's excellent Getting Started guide, and just wanted to confirm I understand the basic Docker parlance before I go much further. These definitions are somewhat provided in the docs...
Helen asked 12/6, 2017 at 13:13

3

Solved

In the .yml definition, I'm always pulling the latest image of my service. When I push a new image to the registry and I want to update the image that the service in my stack uses. I don't see any...
Liris asked 19/6, 2018 at 20:10

2

Following is my docker-stack file. version: "3" services: my-app: image: my-image:latest volumes: - ./certs:/certs ports: - 6401:6401 networks: my-net: ipv4_address: 192.168.0.4 netwo...
Gerous asked 19/10, 2018 at 2:51

4

It seems my server ran out of space and I was having some problems with some of the deployed docker stacks. Took me a while to figure it out, but eventually I did and removed a couple of containers...
Hydrofoil asked 19/6, 2018 at 16:38

0

In docker-sompose: services: srvA: (..) networks: - backend srvB: (..) networks: - frontend networks: frontend: driver: overlay backend: driver: overlay when I start docker stack dep...
Phototube asked 24/5, 2019 at 19:16

1

Solved

I'm having difficulty setting up a Docker Swarm with two workers and one manager. Everything works fine until I add the second worker. After adding the second worker, the first worker's daemon ente...

2

I tried to deploy a stack (contains one service) with docker stack deploy command and run 2 instance from my application on swarm! here is my docker-compose file: version: "3" services: server: ...
Ringsmuth asked 27/10, 2018 at 15:59

2

Solved

In our project we inherited Docker environment with some service stack in it. I've noticed Docker restarting stack once it faces memory limit. Unfortunately, I haven't found any info according to...
Hydracid asked 24/10, 2018 at 13:4

2

Solved

I’m trying to add a service to a stack after the stack was already deployed. But this new service is having trouble communicating with services (redis) inside the stack. This is my current unders...

1

Solved

docker-compose.yml This is my docker-compose file used to deploy the service in multiple instance using the docker-stack. As you can see the the app service which is the laravel running in 2 nodes ...

1

Solved

I am migrating away from Docker Cloud to pure Docker Swarm setup. One thing that I am missing is the nice way of how the containers got the hostname set as $SERVICE_NAME-$SLOT_NUMBER. Is it possib...
Rickety asked 8/4, 2018 at 16:9

0

I have created jobs for build and deploy. The jobs are running perfectly without no errors and the project is deployed successfully. The problem is though the repository is changed the build is not...
Pantelegraph asked 25/3, 2018 at 6:37

1

Solved

Let's say we have the following stack file: version: "3" services: ubuntu: image: ubuntu deploy: replicas: 2 restart_policy: condition: on-failure resources: limits: cpus: "0.1" memory: ...
Invariant asked 14/3, 2018 at 16:45

1

Solved

I am trying to deploy following docker-compose into docker swarm cluster. version: '3.2' services: jenkins: image: jenkins/jenkins:lts ports: - 8080:8080 volumes: - ./data_jenkins:/var/jenki...
Octave asked 25/2, 2018 at 6:59

© 2022 - 2024 — McMap. All rights reserved.