31,873 questions with no answers
-1
votes
0
answers
33
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
I’m having a problem and I can’t find a solution.
I have deployed a Django backend and a React frontend using Docker.
I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
-3
votes
0
answers
50
views
Why does Docker ignore my cache when I only change a single COPY command in the middle of the Dockerfile?
I have a Dockerfile that looks roughly like this Node.js example:
FROM node:20-alpine AS base
# Install dependencies (this layer is expensive)
COPY package.json yarn.lock ./
RUN yarn install --frozen-...
0
votes
0
answers
50
views
VSCode Dev Containers: How to inject extra Docker build steps (installing certificates) only for local development?
I'm developing a Python project using VSCode Dev Containers. Until now, to build the container I'm developing on, I used the Dockerfile located in the project root, which the same one used for ...
0
votes
0
answers
40
views
How to enforce "linux/amd64" platform architecture in Visual Studio Code Dev Containers for Podman on Apple Silicon?
Environment
Host: macOS (Apple Silicon M1)
Container Engine: Podman (via podman-machine)
Extension: VS Code Dev Containers
Target Image: A private registry image with Poetry
Problem
When I try to ...
0
votes
0
answers
34
views
Redis Cluster in Docker: How to make nodes announce localhost (127.0.0.1) to external clients while maintaining internal cluster communication?
I'm running a Redis Cluster with 6 nodes (3 masters, 3 replicas) in Docker containers on Windows using bridge networking. Each container maps its port (e.g., 7010:7010, 7011:7011, etc.) so external ...
2
votes
0
answers
79
views
Why am I experiencing DNS resolution failures only in the final stage of a multi-stage Docker Compose build?
I am working on a custom deployment of some open source software where some of the code needs to be modified to provide a couple additional features that are not present, so I'm working on making ...
0
votes
0
answers
105
views
NestJS hot reload not working inside Docker container
I'm running a NestJS application inside a Docker container, but the hot reload doesn't work.
When I edit any .ts file on my host machine, the NestJS server doesn't restart automatically.
I have to ...
0
votes
0
answers
147
views
Why is my Selenium ChromeDriver crashing with Docker?
I have a service on my application that is scrapping a webpage to obtain some information with Selenium. I have run it without Docker and with Docker in my PC.
I am now working on deploying it with ...
0
votes
0
answers
60
views
Docker `COPY *.xyz` behaviour difference between CLI and API
Take a (trivial) Dockerfile:
FROM scratch
COPY *.xyz .
I would expect this to include any xyz files if present.
So testing with no xyz files - it builds fine locally:
% docker build .
{...}
[+] ...
4
votes
0
answers
416
views
How to Disable or Suppress "xdg-open" Popup in Puppeteer (Node.js, Alpine Linux)?
I'm currently developing an API that uses Puppeteer within a Docker container based on the node:18-alpine image. I'm facing an issue where, with certain links, Chromium triggers an "xdg-open"...
Tooling
1
vote
0
replies
42
views
Reuse "node_modules" from pre-built dev container
I'm trying to build a pre-built dev container (see here).
Among others, the app uses some Node.js packages. To speed up the dev container performance, I'd like to cache them. For this, I'm running npm ...
0
votes
0
answers
36
views
Failed to deploy puppeteer chromium in Render
I used puppeteer in my Node.js project and wanted to deploy it to Render as Docker image but the puppeteer chromium browser fails to launch in Render and gives me the error trace below. The app runs ...
0
votes
0
answers
99
views
Should I use Docker-in-Docker or a Docker socket mount for building images inside CI containers?
I’m experimenting with a self-hosted CI/CD setup where each pipeline step runs as a Docker container. However, some steps need to build and push their own Docker images I currently use Docker-in-...
1
vote
0
answers
57
views
Docker container routing to YARP fails in Aspire
I have a software solution where there is
an ASP.NET Core 8.0 Web API running on Linux inside a Docker container (edge-service), making HTTPS GET and HTTPS POST to
an ASP.NET Core 8.0 Web API (front-...
0
votes
0
answers
57
views
Configuration injection into MCP Servers run by Docker MCP Gateway
Based on information available in the Docker documentation I created a Docker compose file for Docker Gateway that works together with Claude Code running in the container.
name: Test
networks:
...
1
vote
0
answers
47
views
duplicate "log_format" name "vhost" in /etc/nginx/conf.d/default.conf:72
Iam using below custom-log-format.conf file for jwilder/nginx-proxy. Everything is working well initially. i can access the nginx and i got all logs in my custom log file,
custom-log-format.conf:
...
0
votes
0
answers
41
views
How to fix error code 137 with Eclipse CDT on docker
I'm using Eclipse on Windows for C++ development. As my software developped is in Linux, I'm using a container for compiling, not debugging yet.
I've configured the setup in february 2024, it was ...
1
vote
0
answers
94
views
self-host plane : Error: adapting config using caddyfile: /etc/caddy/Caddyfile:3: unrecognized global option: reverse_proxy
I am trying to self-host plane on my pc, so I git clone the following repo:
https://github.com/makeplane/plane.git
and try to run docker compose up:
docker compose up -d
WARN[0000] Found orphan ...
2
votes
0
answers
77
views
Docker exec with psql single result hangs
I have a bash script that runs docker exec into a Postgresql container to retrieve the maximum ID of a DB table:
sudo docker exec -it my-database psql -qtAX -U postgres -c "select MAX(rwi.id) ...
0
votes
0
answers
69
views
How to view the Docker log in GitHub Codespaces?
I cannot find a way to view the Docker log output for a Devcontainer that is launched in GitHub Codespaces.
I found the Terminal, but that is a terminal inside the container.
I found the DebugConsole, ...
1
vote
0
answers
37
views
MongoListener (Java) not reading from MongoDB collection on local Docker
I have a MongoDB Docker container, running locally. I have set this up using the following file, docker-compose.yml
services:
mongodb:
container_name: mongodb-local
image: mongo:latest
...
1
vote
0
answers
21
views
When using Docker via Orbstack, executing Docker-related commands always fails with the message: `zsh: killed docker xxx`
When using Docker via Orbstack, executing Docker-related commands always fails with the message: zsh: killed docker xxx
enter image description here
I tried reinstalling the orbstack again, but it ...
1
vote
0
answers
133
views
Docker invalid file request node_modules/.bin/browserslist error
I am complete newbie when it comes to Docker, i am currently doing the Docker 101 tutorial (https://www.docker.com/101-tutorial/). I am trying to use bind mounts and I have followed the steps ...
0
votes
0
answers
48
views
Jenkins Pipelines in Docker: Failed to rm container
My setup is both Jenkins master & agent running via "Docker in Docker" scheme onto Docker Desktop for Windows with WSLv2 backend.
In my Jenkins Pipelines, I am using docker step from ...
0
votes
0
answers
36
views
Clients unable to authenticate against Apache/Kafka container with existing user accounts
I inherited a working Docker Compose tech stack that used Bitnami/Kafka and a recompiled VerneMQ broker. Since Bitnami began deprecating some of its catalogue, we made a decision to switch to Apache's ...