All Questions
Tagged with docker-compose docker-network
441
questions
1
vote
0
answers
51
views
Configuring Docker Network on Ubuntu 24.04 Host [closed]
I'm having trouble configuring Docker networking on my Ubuntu 24.04 host, and I could really use some help.
Environment:
Host OS: Ubuntu 24.04
Host IP: 10.78.20.20 (running on an ESXi machine)
Docker ...
2
votes
0
answers
41
views
Dockerized rust program only connects to other containers via "host" networking
I'm working on a project where my Rust application is containerized using Docker. I've encountered an issue where the Rust program can only connect to the PostgreSQL database when the container is run ...
0
votes
1
answer
81
views
Cannot connect docker ip from host
Hello i have create a container using the default network, i want to directly access the container through container ip like : <container_ip>:8088 . But i do not know why i cann't. I know i can ...
0
votes
0
answers
46
views
Docker network attach host network to custom network
Time to time I use ssh tunnel to map port to my local system. It could be postgres or mongo or someother service that I want to connect to.
I want to create a network that has a dns mapping with name ...
1
vote
0
answers
49
views
Cron job with database throws OperationalError when connecting to database
I have a task that needs to be periodic. I created a repository with minimal requirements, as far as I can do, using a Dockerfile, a docker-compose.yml and a Makefile. Beside, it requires database ...
0
votes
0
answers
52
views
Why can't Docker find a port when using a macvlan network
I am running OMV (openmediavault v7.0) as a NAS and my Docker host.
I am trying to bring up a Traefik instance in a Docker container (non-swarm) using a macvlan network.
Compose works all the way ...
1
vote
2
answers
110
views
Docker Compose - container A "could not resolve host" of container B
I'm having problems getting two Docker containers to talk to each other using Docker Compose. In an attempt to reduce the problem down to the smallest reproducible example, I have created the ...
0
votes
1
answer
39
views
asp.net Failed to connect to postgres in docker
did docker or Postgres change something because I'm getting this error in all of my projects
so I guess maybe because of my local machine and I tested in GitHub Code Spaces and I got the same error ...
0
votes
0
answers
74
views
Why is an alias in a docker network not resolved?
I am making a docker setup for a class on microservices I am taking. Can someone please tell me why the frontend container cannot make requests to the Flask server running on the user container ...
1
vote
1
answer
35
views
Unable to connect Gitlab from a spring boot application running locally in Docker desktop
I am running spring boot config server in a Docker container locally. with below configuration in docker-compose.yml but its failing to connect with gitlab server
networks:
private-net:
ipam:
...
0
votes
0
answers
117
views
How to use first IP in subnet with macvlan network and Docker Compose?
I'm containerizing software that uses multiple network ports for low-level networking with connected hardware, so I use the macvlan driver in passthru mode.
I also need static IP addresses for these ...
0
votes
1
answer
40
views
Spring not able to connect to MongoDB on docker
I have created two docker compose file, one for DBs:
# docker compose -f ./_DockerEndpoints.yaml -p storage up -d
version: '3.8'
services:
my-postgresql-db:
image: postgres:latest
...
0
votes
2
answers
100
views
Can I extend a shared docker-compose service twice (multiple times)?
I have a maria-db database docker-compose.yml:
version: '3.8'
services:
mariadb:
image: mariadb:latest
container_name: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD:...
1
vote
1
answer
486
views
Create local network with multiple Docker compose files
I would like to create a local network for development. Most for experimental purposes and homework. The idea is to replicate a typical network that is created in an office or even in most cases in ...
0
votes
0
answers
437
views
How to use Gluetun VPN Container while i use Nginx proxy manager for exposing application container to internet?
I have an application container called "Nextcloud" that depends on MySQL DB and Redis. I expose the Nextcloud application using Nginx Proxy Manager.
However, I now want to make sure that the ...