155,635 questions
Advice
0
votes
1
replies
20
views
How to set physical machine access when mount to docker container?
I'm trying to run postgresql. after checking their document, I added this volume mount
/path/to/data:/var/lib/postgresql/18/docker
my container failed immedeately,
chmod: changing permissions of '/var/...
0
votes
0
answers
27
views
Docker Compose Gluetun with Arr containers health check not enough
I have a single ymal file with Gluetun and some Arr containers with Gluetun providing the VPN here is my code for Prowler
prowlarr:
image: linuxserver/prowlarr:latest
container_name: prowlarr
...
Tooling
0
votes
2
replies
33
views
Docker and MongoDB
My mongo database is contained in a docker image.
I use this command in order to run the docker container:
docker run -p 127.0.0.1:27017:27017 mongo:Version
and afterwards I do a mongorestore:
...
0
votes
0
answers
41
views
quarkus build fails with 401 Unauthorized at registry-1.docker.io despite successful docker login
I can docker push a local image to dockerhub just fine, but quarkus build fails with:
...
Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/...
0
votes
0
answers
35
views
Why do I get a "container OS does not match the host OS" error following Install Docker Engine from binaries doc?
From the official site, I downloaded the latest available version:
PS C:\windows\system32> docker version
Client:
Version: 29.0.2
API version: 1.52
Go version: go1.25.4
...
Advice
0
votes
3
replies
50
views
In Dockerfile add user, assign group to user and make group permanent
I have a Dockerfile, where I create a non-root user and assign a group icmp_users to it. However, when I run the container with docker run -it --rm container bash the group is not activated.
Here is ...
-3
votes
0
answers
35
views
An error occurred while running a WSL command when opening Docker [closed]
I installed Docker Desktop on windows 11. Installation is complete but when I open the Docker Desktop app, it will show an error
There was a problem with WSL
An error occurred while running a WSL ...
-3
votes
0
answers
25
views
How to generate a Node SSR build (Express server) instead of Worker build?
I’m building a Shopify Hydrogen 2024/2025 storefront and I want to deploy it on AWS Amplify using a Node SSR server, not the default Worker/Oxygen runtime.
node package "@shopify/hydrogen":...
-2
votes
1
answer
41
views
Is it possible to access to fs image and make modify if container won't start? [closed]
My ftp don't want to start anymore
docker run -i myimage
/usr/sbin/vsftpd: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
I already know ...
-1
votes
0
answers
40
views
I'm having trouble starting to build my Dockerfile to deploy on Railway
My Dockerfile is in the root project directory, and railway.json is also in the root directory.
Problem: Railway It won't let me build. Message:
Dockerfile "Dockerfile does not exist"
...
-1
votes
0
answers
29
views
Compute Engine - Artifact Registry | 400 Unexpected Status when pushing image from VM [closed]
I'm getting the following error on push.
unknown: unexpected status from HEAD request to https://us-central1-docker.pkg.dev/v2/PROJECT_ID/REPOSITORY/manifests/sha256:xxxxxxxx: 400 Bad Request
- My VM'...
-2
votes
0
answers
44
views
synapse using docker i have faced this issue [closed]
2025-11-26T15:46:29.478Z DBG Checking connection to homeserver
2025-11-26T15:46:29.479Z INF **Starting HTTP listener** address=0.0.0.0:29318
2025-11-26T15:46:29.488Z DBG Request completed duration=8....
1
vote
1
answer
56
views
Spring Boot (4.0.0) Cannot Connect to MongoDB in Docker Compose Network
I'm trying to connect my Spring Boot application (using spring-boot-starter-data-mongodb) to a MongoDB instance within a shared Docker network managed by docker-compose.
The connection is failing, and ...
0
votes
0
answers
83
views
Python can't run multiprocessing while containerized [closed]
Currently transferring a Python 3.12 program from local to a container environment, while it runs and completes its task locally it crashes on Docker in the early stages of the run.
/home/app/.../....
1
vote
0
answers
34
views
Prisma inside Docker container cannot connect to Postgres on host machine (Can't reach database server at "123:5432"), but psql works inside container
I’m deploying a Node.js + Prisma backend using Docker on my VPS.
PostgreSQL is NOT in Docker — it runs directly on the VPS host (Ubuntu).
My backend is running inside Docker using docker compose.
...
0
votes
2
answers
127
views
Installed bcrypt with pip in a docker container, but getting ModuleNotFoundError
I am trying to run a Python program in a docker container. The program uses the bcrypt library. It runs without problems outside of a docker container (using intellij ultimate), but it does not run ...
0
votes
1
answer
92
views
Error when running a Spring Boot image in Docker: open /workspace/BOOT-INF/classes/db: permission denied
I follow the book Cloud Native Spring in Action and I encountered this error. I used the Paketo Buildpacks to build the image using ./gradlew bootBuildImage. Full source code: https://github.com/...
Advice
0
votes
0
replies
49
views
How apply airflow db migration and save them into postgress docker image?
I use docker-compose to run airflow. Postgres section is
postgres:
image: postgres:12.16
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
healthcheck:
test: [ "...
0
votes
1
answer
50
views
insert sample data into a postgresql in docker container not working [closed]
I am running a postgresql in docker container and trying to insert some sample data into this database.
prepare_source_data.sql exists in the host environment.
here I tried
docker exec -it postgres ...
0
votes
1
answer
69
views
How to run nsjail on Google Cloud Run without prctl() errors?
Summary
I'm trying to deploy a Python code execution service using nsjail for sandboxing on Google Cloud Run, but nsjail fails with `prctl(PR_SET_SECUREBITS)` errors even with minimal configuration. ...
Best practices
0
votes
0
replies
42
views
What is the best practice for creating a Docker image for Spring Boot applications using layers?
I am aware of two approaches. Below are Dockerfile snippets.
# This approach generates and runs application classes stored in the `extracted_layers/application/BOOT-INF/classes/` folder.
.
.
.
RUN ...
0
votes
0
answers
49
views
WSL stops functioning after a failed docker pull [closed]
I need to install a project on GitHub, and they said it should be installed by docker, so I installed docker desktop for windows and set up WSL integration following the guide on docker website.
After ...
0
votes
0
answers
45
views
MiniMagick/ImageMagick produces Grayscale PDFs(contains colourful images) inside Docker, but Color PDFs Locally (Rails 8)
The Problem Statement
My Rails 8 application uses MiniMagick to composite multiple color JPEG/PNG images onto a single blank page, draw bounding boxes, and output the result as a PDF.
When running the ...
0
votes
0
answers
26
views
NestJS SMTP Notifications always connects to 127.0.0.1:587 Instead of database configuration
I'm working on osmo-x, an open-source notification management API built with NestJS, typeORM, and bullMQ. It supports multiple notification channels (SMTP, Mailgun, SMS, etc.) where provider ...
1
vote
0
answers
43
views
How to install flash attention at the login node of a SLURM GPU cluster? [closed]
I'm trying to install flash attention 2.8.2 on a Centos 7 SLURM GPU cluster. But as the login node does not have NVCC, direct installation at login node is not successful.
Direct installation command:
...
2
votes
1
answer
107
views
Spark with Delta Lake and S3A: NumberFormatException "60s" and request for working Docker image/config
I’m trying to create a Delta Lake table in MinIO using Spark 4.0.0 inside a Docker container. I’ve added the required JARs:
delta-spark_2.13-4.0.0.jar
delta-storage-4.0.0.jar
hadoop-aws-3.3.6.jar
aws-...
-4
votes
0
answers
63
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 ...
Best practices
2
votes
1
replies
54
views
Docker - how to launch a container with non-variable name?
I launch a container in docker (using powershell) by running the first command however I have a couple other operations I need to do on start-up like connecting the gotenberg to a network.
The ...
Advice
0
votes
0
replies
38
views
How do I list all tags for a Docker image in a private registry using existing Docker CLI credentials
Similar to How can I list all tags for a Docker image on a remote registry? but I am asking specifically how to do it using existing Docker credentials (i.e. I already did docker login private.repo)
...
3
votes
1
answer
205
views
`docker-php-ext-install opcache` works with PHP 8.4 but not PHP 8.5 [closed]
I can build an image with this Dockerfile that is based on a lightweight Docker image that use Alpine:
FROM php:8.4.15-cli-alpine
RUN docker-php-ext-install opcache
But I can’t build an image after ...
-1
votes
1
answer
46
views
Docker build fails because of JavaScript not enabled [closed]
I wrote a Dockerfile and trying to run the build. But every time, I run it, I see the below error:
[+] Building 2.5s (1/1) FINISHED ...
3
votes
1
answer
104
views
Self-signed certificate error when forcing SSL connecting to RDS PSQL [closed]
Hoping to get yalls help on the issue I am now sort of desperate about
Context:
I am deploying a docker container on EC2 Ubuntu, where it is used by two images - one for my Prisma-NestJs-based API and ...
0
votes
0
answers
33
views
AWS CDK repository authentication
I'm working on a CDK deployment. I'm trying to set up a stack that creates a ECR image which is completely build the way I want. However, I'm stuck at the part of getting the private repositories ...
0
votes
1
answer
35
views
How to run jupyter notebook using docker? [closed]
I try to run jupiter notebook with docker. I run this in my terminal:
docker run -it -v $(pwd):/home/optimus/localwork --workdir /home/optimus/localwork -p 8888:8888 optimuslib/optimus:latest
I ...
-3
votes
0
answers
60
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-...
-3
votes
0
answers
47
views
Dockerfile COPY fails with "no such file or directory" even though the file exists in build context [closed]
I'm trying to build a Docker image for a Node.js + React application and keep getting this error during the build:
COPY failed: file not found in build context or excluded by .dockerignore: stat src: ...
-1
votes
0
answers
64
views
Jenkins Docker Node error 400 Bad Request [closed]
My jenkins container start command:
docker run --name jenkins --restart=on-failure --detach \
--network jenkins --env DOCKER_HOST=tcp://docker:2376 \
--env DOCKER_CERT_PATH=/certs/client --env ...
1
vote
1
answer
52
views
Mikro-ORM migrations work locally but no tables in Docker container database
I have a NestJS app using Mikro-ORM and PostgreSQL.
I’m new to Dockerizing database migrations and Mikro-ORM in NestJS.
Locally, when I run:
npx mikro-orm migration:create
npx mikro-orm migration:up
...
Advice
0
votes
2
replies
43
views
How to replicate locally automated API tests within gitlab CI
Let's say you have a repository in gitlab. For facilitated distribution of the application and according development throughout a team, you convert the app into a Docker Container, which can be ...
0
votes
1
answer
48
views
SpringBoot OCI optimized image for all environments
I am using SpringBoot 3.5.7 to build docker image with ./mvnw spring-boot:build-image.
I also use a custom Spring Starter, that contains some common code, but also some common configuration settings ...
2
votes
2
answers
119
views
Problem when running Docker container inside Powershell script [duplicate]
Environment
Windows 11 23H2
Powershell v5.1
Docker desktop 4.49.0
Issue
I have a weird problem when I use variables as arguments for a docker run command inside a Powershell script (.ps1 file).
If ...
0
votes
0
answers
73
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
51
views
Cannot run the custom built erlang container
Here is the Dockerfile
# ===== Stage 1: BUILD OTP 27.2 =====
FROM debian:bookworm AS build
RUN apt-get update && apt-get install -y \
build-essential \
autoconf \
automake \
...
0
votes
0
answers
48
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
50
views
Access to path '/app/wwwroot/Uploads' is denied
I'm using docker image to deploy my asp.net application
and i'm facing 2 issues.
The first one: after some deployes the api list still the same although a made changes on it (it seems like image ...
0
votes
0
answers
41
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 ...
Advice
1
vote
2
replies
70
views
Connecting to Mongodb from inside Docker container
I want to connect to my mongodb running on my localhost machine (dockerhost) from inside a docker container. For that I have to allow connections other than localhost. Unfortunetly when using --...
-2
votes
0
answers
63
views
minio signature does not match golang api [closed]
I encountered a SignatureDoesNotMatch issue when switching MinIO from Docker Run to Docker Compose. I'm using PresignedUploadURLs to upload files from the frontend (React/Axios).
I've tried all the ...
0
votes
1
answer
77
views
WordPress + Rootless Docker File/Directory Permission Issue
I’m running a WordPress site (https://example.com) behind Traefik on a VPS using rootless Docker (Docker daemon socket is /run/user/1000/docker.sock).
Everything works fine except updating plugins ...
0
votes
0
answers
51
views
Spring Boot plugin builds Docker image using Buildpacks
I am trying to build an app using Spring plugin without Dockerfile using docker compose running in Ubuntu. Here is my docker-compose.yml:
services:
app:
image: 'docker.io/my_appName/api:latest'
...