1,090 questions
0
votes
1
answer
43
views
MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias
Title - MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias
I am writing integration tests for an Open Liberty-...
0
votes
0
answers
106
views
Azure Search Python SDK SSL Certificate Verification Failed in Open web ui (Docker) - Works in Windows Jupyter
Problem:
I'm querying Azure AI Search from Open WebUI (Docker on WSL Ubuntu 24). The azure-search-documents SDK fails with SSL certificate verification errors, but the same code works fine in Windows ...
0
votes
1
answer
168
views
How to run Docker containers on a bonded interface (bond0) using a bridge network? [closed]
I’m trying to make my Docker containers use a bonded interface (bond0) for fault tolerance, instead of binding directly to a single network adapter.
The bonded interface is successfully created with ...
0
votes
0
answers
39
views
How to run docker container so that I can talk to it from host and another container [duplicate]
I would like to use the same connection string to a database running in container in both, host machine and other containers.
Scenario
I have a dockerized app, with external dependency to DB
DB is ...
0
votes
0
answers
46
views
Docker Daemon getting unresponsive after running for more than 1 hour
Please guide. Thanks in advance
We are running an application on docker with multiple containers with the help of a docker compose file. Azure Ad is configured for authentication. The url is exposed ...
-1
votes
1
answer
51
views
Confine networking of global mode docker services to each host
Is there a way to make two "global" mode docker swarm services communicate directly, on the same host?
In this docker swarm stack are two global services, promtail and prometheus.
# stack....
-2
votes
1
answer
68
views
Volume mysql-data keeps getting recreated automatically in Docker Compose
I'm facing a strange behavior with Docker Compose and a MySQL container. Even after I run docker-compose down to stop and remove the container and network, the volume seems to be automatically ...
0
votes
0
answers
111
views
How to Resolve Docker Domain Access Errors Without Manually Updating /etc/hosts?
Every time my Docker accesses a domain, even for performing Docker Login, it throws an error:
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1....
1
vote
1
answer
77
views
Docker connection between Kafka and Bytewax refused
I want to consume a stream from Kafka using Bytewax to perform aggregations. Unfortunately I'm not able to connect to Kafka and the connection is always refused. I assume something with the port setup ...
0
votes
0
answers
19
views
Failed communication between Nextjs and internal docker services inside a docker network [duplicate]
I am building a password manager app. Here I am using Next JS as frontend and Django as backend framework. I am deploying the whole thing using docker. There are three services frontend, backend and ...
0
votes
0
answers
144
views
Docker Compose networking issue after upgrading from Fedora 40 to Fedora 41
This used to work great, but now I'm seeing a lot of HTTP request failed: [400:BadRequest] errors from prowlarr trying to communicate with radarr (and same for sonarr). I recently upgraded from ...
0
votes
1
answer
388
views
Make docker containers inside a network accessible externally
So, my situation:
2 docker containers: postgres and a server. I want to run them in a way, that:
prevents external access to postgres
allows server to access postgres
allows external access to server
...
0
votes
1
answer
158
views
Docker Swarm Overlay Network: Services Can Ping Each Other but TCP Connections Fail [duplicate]
I am running a Docker Swarm cluster with two nodes:
Manager Node (10.1.109.70)
Worker Node (10.1.109.60)
I created an overlay network (my-swarm-net) and deployed multiple services (MySQL and Nginx) ...
1
vote
0
answers
75
views
`ping` Fails Inside HAProxy Docker Container
# Dockerfile
FROM haproxy:2.6-bullseye
USER root
RUN apt update && apt install -y iputils-ping iptables
COPY test.cfg /usr/local/etc/haproxy/haproxy.cfg
ENTRYPOINT ["ping", "8.8....
0
votes
1
answer
207
views
Docker Multi-Network Route Issue
For my typical usage, I need to create a container over 2 docker networks:
Pre-Info
Let's redefine something to make this clearer:
The concerned container: workload_container
The Physical Machine LAN ...
0
votes
1
answer
369
views
Cannot receive request on LMStudio Server from Docker Container Application?
I am trying to self host Khoj AI and I have followed all the steps in the documentation.
The only thing I changed in yml file is:-
- OPENAI_API_BASE=http://localhost:1234/v1/
That is where my ...
-2
votes
1
answer
42
views
Unable to connect to Hadoop NameNode at 192.168.99.100:50070 due to connection timeout when attempting to read a file from HDFS
I'm encountering a ConnectTimeout error when trying to connect to a Hadoop HDFS instance running inside a Docker container from my Python script. The script is supposed to read a file from HDFS using ...
2
votes
1
answer
179
views
How do I run torch.distributed between Docker containers on separate instances using the bridge network?
I am trying to run a simple torch.distributed script between two Docker containers running on separate instances. Below is the code I am using:
import os
import torch
import torch.distributed as dist
...
0
votes
1
answer
50
views
How to run a docker container on a host in a php laravel inside a docker container
We are currently running pphlaravel (api server) as a container using docker.
Among my logics is creating and running docker images of hosts as containers. For example, the docker SDK in phlavel and ...
0
votes
1
answer
41
views
Docker Playground displaying incorrect networking configuration for docker swarm
I am learning docker and using docker playground for that. However, earlier when I used the swarm set up on the playground or even performed swarm init myself, I was able to view all 5 default ...
0
votes
0
answers
50
views
Timeout when connect to ip in ingress network in docker swarm
I have run my service with docker swarm, I have two nodes, and I'v run the service with replicas=2.
Here is my docker compose
services:
c2c-mplus-gateway-service:
hostname: c2c-mplus-gateway-...
0
votes
2
answers
97
views
why does docker compose still create an implicit network [closed]
services:
echo:
image: busybox
command: echo 7
server:
build: .
command: server 0.0.0.0:8000
healthcheck:
test: /app/compose-tinker poke localhost:8000
interval: ...
-1
votes
1
answer
104
views
Acccess host localhost from inside a Docker container
So I have VPS that exposes an API endpoint on localhost at port 8080.
I have a Svelte app that must need the endpoint. To build the svelte app I'm using docker-compose.yaml with
version: '3.8'
...
0
votes
0
answers
56
views
Can't get a user IP address in nginx proxy
I have the following nginx configuration in docker. The problem is in my node app (backend proxy) I get an IP of nginx server, not the user real IP when sending requests from frontend using X-Real-IP ...
0
votes
1
answer
334
views
withNetwork vs withNetworkMode and types of default networks
I am trying to find documentation that clearly explains the difference between
withNetwork and withNetworkMode and when to use which one. Also, what is the use case of Network SHARED defined in org....
0
votes
0
answers
37
views
Docker Compose Frontend React Application Outgoing Requests Failure
I have a full stack application that I'm trying to setup with docker compose. Each application is running fine in their containers but I cannot make any requests to my backend API from the front end ...
0
votes
0
answers
163
views
SOC Lab using docker or docker compose
Hello Docker Experts,
I'm planning to build a comprehensive home lab for a Security Operations Center (SOC) and security testing using Docker Compose involves orchestrating multiple services, and each ...
1
vote
0
answers
189
views
Running openvpn inside a docker container make network inacessible
I have an app is dockerized, then I need to make this app work with VPN, so I need to install openvpn and run it inside my container. I use docker desktop for window 10. I have run these below ...
0
votes
1
answer
154
views
How to securely access docker container remotely using vpn
I have this setup on my live server, and I want to be able to access both the Postgres and Redis containers from my local machine. I tried using WireGuard, but doing so now prevents other containers ...
1
vote
0
answers
532
views
Docker host IP address from inside container is wrong
I have tried following any existing questions regarding this particular issue, but my symptoms are not at all the same.
I am using Docker on Windows. My container is a linux-container. I want to be ...
0
votes
0
answers
178
views
How to create a redis cluster using docker with 6 nodes deployed in 2 different servers
I need to create a redis cluster environment in docker with 6 redis nodes deployed in 2 different servers, each with 3 nodes.
sample docker-compose.yml
version: '3.8'
networks:
redis-cluster:
...
0
votes
1
answer
155
views
I want to dynamically create a network and attach the same network to the docker-compose services
This is my docker-compose.yml file:
version: "3.7"
networks:
default:
external:
name: ${NETWORK_NAME}
services:
runner:
container_name: runner-${PROJECT_NAME}
...
2
votes
1
answer
397
views
How to start a docker container inside a Docker build process
I'm trying to start a docker container inside the docker build process.
I'm trying to build and pack one project inside a Docker container but its build process internally requires a running docker to ...
1
vote
1
answer
293
views
Docker Container Running a NextJS app in host networking mode won't start due to address not available
I've got a nextjs container that runs fine until I try to run it in host networking mode. Here's the command I run:
docker run --net=host --name myapp_ui myimage_ui
This is the I get when it tries to ...
-1
votes
1
answer
954
views
Why can't I connect to this Kafka broker inside a Docker container? [duplicate]
Similar questions have been asked before, however having read through the information on each of them I don't believe any of the existing questions provide an answer in this case. This is partly ...
-1
votes
1
answer
265
views
Is it possible to create a route between two existing Docker Networks? [duplicate]
I have two groups of containers. Each group is defined by a docker-compose.yml, and each group has an associated network such that all containers defined in the same docker-compose.yml file can all ...
1
vote
2
answers
175
views
Restricting default docker-compose networks
My machine is connected to the physical network 192.168.0.0/24, which also has an internet-of-things VLAN 107 at 192.168.107.0/24. After messing around with some docker containers, that host suddenly ...
0
votes
2
answers
94
views
Error when creating simple mongo docker network
I am trying to create my first docker network with docker using mongo db and mongo express images.
I've pulled with docker pull mongo and docker pull mongo-express.
I've created a docker network with ...
1
vote
1
answer
173
views
DNS_PROBE_POSSIBLE issue for subdomains with Traefik
I have a server running some services through Traefik.
Since mingling with my mail server and Traefik setup yesterday, some services / subdomains have DNS issues now (DNS_PROBE_POSSIBLE or DNS_......
1
vote
2
answers
111
views
Docker Host Not Found
I have two docker containers running, one with a Tomcat, one with an H2 database.
To build the containers I use docker compose build with the following compose.yml:
services:
tomcat:
build: ...
1
vote
0
answers
219
views
Getting two ros2 clients, on different machines in docker containers, to communicate
I have two machines running in the same network. Both have a docker container, with ros2 installed, running. One of the containers starts a listener and the other container starts a talker Nodes from ...
-2
votes
1
answer
56
views
run docker vite application on local machine
now i want to run it on my local machine by using the command docker run -d tag but it is not working,
when i enter localhost:5173 the nothing appear on my browser.
my dockerfile is:
FROM node:18-...
2
votes
0
answers
77
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 ...
-1
votes
3
answers
276
views
Making docker application talk to application running locally on host machine at localhost ip
I have Prometheus running at port 9090 in docker container and the port is mapped to host port 9090. I can access Prometheus. I have a spring boot application running natively on localhost on the Mac ...
0
votes
1
answer
810
views
Cannot connect docker ip from host
I have created 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 can't. I know I can access ...
1
vote
1
answer
6k
views
Docker/Podman make container reach localhost and reachable via localhost
I have an application A running locally on host, and application B running in a container.
Application A listens to localhost:8080 and application B on localhost:8081.
When I run the container with
...
0
votes
0
answers
257
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
77
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 ...
1
vote
2
answers
917
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
96
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 ...