Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
16 views

Cannot access the deluge ui after connecting to vpn inside the docker container

I am creating docker deluge-openvpn container i have already tried various deluge-openvpn container some works for me some does not So i created this container using: Docker-compose.yml version: '3.8' ...
SaM AroRa's user avatar
0 votes
1 answer
21 views

Cannot use {{.Task.Slot}} as constraints for docker swarm's stack file

I have a docker swarm with 3 replicas for service for which the deploy setup is as follows: deploy: mode: replicated replicas: 3 placement: max_replicas_per_node: 1 constraints: ...
M.Armoun's user avatar
  • 1,113
0 votes
0 answers
32 views

How to configure Docker Swarm to prevent exposing containers to the public?

I’m having trouble configuring Docker Swarm. Currently, when I deploy services with assigned ports in Docker Swarm, they automatically become public. In Docker Compose, I can easily control which ...
Krzysztof Wojdak's user avatar
0 votes
1 answer
28 views

Logstash - How to specify alternate settings directory in Docker Compose

Within Docker Compose yaml environment, we are able to override: PATH_LOGS LOG_FORMAT But PATH_SETTINGS seems to be ignored. Background: We are trying create one Docker image, but point to different ...
Stude's user avatar
  • 1
0 votes
0 answers
43 views

Docker swarm (compose file): bind path is not exist. But bind is not declared for such directory

Seems like docker tries to bind all directories under docker in root: /* SRC FILES */ docker/ deploy/ service.yml volume/ redis/.gitkeep logs/.gitkeep I was unabled to find any ...
ChannelDSR's user avatar
0 votes
1 answer
18 views

Retrieve data from Docker Replica (Docker Swarm)

I have a TCP service running on an Ubuntu VM as docker container. Due to load of devices I had to move from a single docker container to docker swarm with 3 replicas (for now). I have a Django service ...
Aitazaz's user avatar
0 votes
1 answer
29 views

Eclipse Ditto on Docker Swarm | nginx: [emerg] host not found in upstream "gateway" in /etc/nginx/nginx.conf:44

Challenges Running Eclipse Ditto on Docker Swarm Eclipse Ditto on Docker Swarm | nginx: [emerg] host not found in upstream "gateway" in /etc/nginx/nginx.conf:44 | [error] 33#33: *2 connect() ...
Aissam en's user avatar
0 votes
2 answers
57 views

Using replicas to scale multiple web server instances

The answer is at the end I'm developing a web server in Rust, and it works fine using just Docker and defining two services in compose. As follows: x-common_auth_service: &common_auth_service ...
rick's user avatar
  • 721
2 votes
0 answers
56 views

Docker container doesn't keep up when deployed on swarm network

I have a docker container deployed on a swarm network that I initiated and updated using docker node update. The docker compose file is: version: '3.8' networks: test: driver: overlay ...
brenodacosta's user avatar
1 vote
0 answers
46 views

Dynamically inject secret in docker compose

My docker compose version: '3.9' services: test: secrets: - source: impKey secrets: impKey: file: somePath/cred.txt Works fine, when I have a ...
pythonhmmm's user avatar
0 votes
1 answer
55 views

Setting environment inside a docker container from secrets

In a docker swarm, I need to setup an environment variable to the value of a docker secret. I followed the answer here , but it does not work for me. To try various options, I created a secret called ...
juan noguera's user avatar
1 vote
0 answers
51 views

Permission issue(exit code 126) while executing command in another container via go client for docker engine api

I am trying to execute certain command inside of docker swarm containers from another go service. But when executing it, I am getting the exit code 126 while inspecting. Here is the code used for ...
DrusePstrago's user avatar
2 votes
0 answers
73 views

Accessing db from Docker container

I am having trouble setting up Docker Swarm with .NET where my goal is to create two containers one for my main C# code to run in and another for a MySQL database. The issue I am having is getting my ...
UnSure's user avatar
  • 178
0 votes
1 answer
151 views

deploy keycloak on the docker swarm cluster: ERROR: Failed to execute the 'build' command. ERROR: No value present

I'd like to migrate keycloak, but I've got an error in the service logs that doesn't really speak for itself. My docker-compose.yml looks like this: version: '3.8' services: keycloak: image: ...
K3forme's user avatar
0 votes
0 answers
153 views

How do I restart a service in a docker stack when doing a stack deploy?

I'm using docker swarm and docker compose to stand up ~6 services. One of those services is from a docker image that doesn't change often, but what does change is the config file on the host machine ...
TJBlackman's user avatar
  • 2,173

15 30 50 per page
1
2 3 4 5
60