Skip to main content

Questions tagged [docker-compose]

The tag has no usage guidance.

0 votes
1 answer
412 views

docker networks and port exposure

I have troubles understanding how to create the following setup using docker-compose. Basically I have three containers (with separate docker-compose.yaml files, each started separately). I also have ...
0 votes
1 answer
1k views

I can't install virtualbox on Debian11 - Windows User

I'm a Windows-user and I have installed Debian11 through the Windows Store. I'm struggling and failing with installing VirtualBox on Debian11. I downloaded VirtualBox 6.1(.28) from here: VirtualBox 6....
0 votes
1 answer
93 views

Copy docker configuration to other PC

I’m using docker composer in order to run ChirpStack on my Windows 10 machine. I need to reinstall operating system, but how to keep working ChirpStack docker system without creating new one?
0 votes
0 answers
3k views

Can't ping service inside Docker container from the host machine

I'm running a container via docker-compose on Ubuntu 20.04, and I can't ping or curl the web server that's running inside from the host machine that's running docker. I've given the container a static ...
0 votes
0 answers
178 views

Use windows environment variables in docker-compose.yaml file

I would like my Windows Username available in my (Linux) container as $WINDOWS_USERNAME using docker-compose. But when I try accessing it with ${env:USERNAME}, I get this error: ERROR: Invalid ...
0 votes
1 answer
737 views

Docker expose port with advance firewall rules

I'm using docker-compose to deploy my app. I want to access the deployment database from my development machine. Is there a way to expose a port with a source IP address limit? Like what happens in ...
1 vote
1 answer
831 views

Xubuntu 20.4, Xdebug 3 and Docker: Impossible to connect from container to host

I've been struggling with this for some time and here I am :-) I have a php container with xdebug installed in a Ubuntu 20.04 laptop: rest-example-php-8: container_name: rest-php build: ./...
1 vote
1 answer
611 views

Docker get a list of possible environment variables

Hello! After intensive research I decided to bring this question up to the community. I started learning docker & docker-compose not long ago. My question is: How can I get a list of the possible ...
0 votes
1 answer
1k views

caddy-docker-proxy to host port

I'm running cockpit on port 9090 on my host machine. In a docker container on the host is the caddy-docker-proxy. The reverse proxy (RP) container is linked to the host ports 80 and 443. Is there any ...
1 vote
0 answers
911 views

Mounting CIFS using hostname doesn't work

This comes from an old suggestion https://github.com/moby/moby/pull/39250 on an issue. I am trying to mount a CIFS volume, config it via IP worked for me but when I try to config it using a hostname ...
0 votes
1 answer
1k views

ERROR: error pulling image configuration: error parsing HTTP 403 response body: invalid character 'F' looking for beginning of value: "Forbidden!"

I've installed docker 20.10.6 and 1.21.0 on centos linux 7 OS machine and when I run below command I get error docker-compose -f multiconnect-compose.yml up -d Error Creating network "...
2 votes
2 answers
675 views

How to limit the sum of memory used by a group of docker containers?

I am using the python API of Docker. How can I limit the memory used by a group of Docker containers? (not on Kubernetes but on a regular, vanilla Docker machine). Let's say we have container A and B: ...
1 vote
1 answer
252 views

ROS in docker-compose leads to "bash: line 0: cd: MYPROJECT: No such file or directory"

I am a clear beginner at docker and I try to create a docker-compose where two containers can see each other. It could be that this question is a duplicate of many others about the "No such file ...
0 votes
1 answer
166 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 ...
8 votes
0 answers
12k views

Docker: "failed to get console mode for stdout: The handle is invalid."

When running docker-compose up in Windows PowerShell using Docker Desktop on WSL2, I get Creating network "test_default" with the default driver Building master failed to get console mode ...

15 30 50 per page