All Questions
Tagged with dockerfile or docker
155,664 questions
-1
votes
0
answers
35
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 ...
1
vote
1
answer
80
views
`docker-php-ext-install opcache` works with PHP 8.4 but not PHP 8.5
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 ...
2
votes
1
answer
49
views
Self-signed certificate error when forcing SSL connecting to RDS PSQL
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
1
answer
34
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
36
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
vote
1
answer
36
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
...
0
votes
1
answer
35
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 ...
-6
votes
0
answers
48
views
the Plugin named Remote-Containers in VsCode plugin shop [closed]
When I want to debug my code in the server while the environment is in my dockers, and ChatGPT suggests my downloading Remote-Containers to make the VsCode running in the docker directly, but I cannot ...
-3
votes
0
answers
66
views
The Rails console is trying to connect to PostgreSQL via Docker and is giving an error [closed]
I'm trying to access PostgreSQL from within my backend application using Docker, but I'm getting the following error:
User.last
#=> There is an issue connecting to your database with your username/...
0
votes
0
answers
38
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
45
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
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
59
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 ...
-1
votes
0
answers
24
views
Google Cloud Run does not load WASM with 500 aborted error [closed]
I am trying to deploy my Godot game, in docker to google cloud run, but even after isolating the issue, the wasm fails to load.
It works on itch.io and locally. How can I get the wasm to load?
0
votes
1
answer
65
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
1
answer
40
views
AWS CDK not updating ECR with ecrAssets.DockerImageAsset()
I use CDK to generate a CloudFormation stack.
When I run cdk synth and cdk deploy, the ECR image and the Task definition don't get updated. In order to force the update, I have to:
delete the built ...
0
votes
1
answer
100
views
Docker Swarm containers suddenly have nofile soft limit 1024 after docker upgrade [closed]
After upgrading Docker on my Ubuntu 24.04 Servers to version 29.0.0, Swarm services suddenly inherit:
Max open files: soft=1024, hard=524288
MongoDB, Redis, etc. suddenly throw file descriptor errors ...
Advice
0
votes
4
replies
40
views
Pixi-managed local Docker installation
I am building a Python package which hevily relies on the Docker daemon.
I am using Pixi as a package manager for Python and have the Pypi Docker SDK in my dependencies however my package wouldn't ...
-1
votes
1
answer
42
views
Nginx with Docker not resolving domain redirection [closed]
I am trying to set up a home lab with HTTPS using Nginx.
I have made the self signed certs and for this demo I am using the local domain production.local.
My docker compose file for homer is
services:
...
1
vote
1
answer
52
views
How to enable NUMA nodes in Docker container
When I run a Docker container on my system (ARM MacOS, with Docker Desktop), I see that /sys/devices/system/node is not present:
docker run -it ubuntu:24.04
# ls /sys/devices/system
clockevents ...
Best practices
0
votes
4
replies
64
views
How can a non-root docker container access a named volume?
this is a beginner's question but after a week of looking around I haven't found an answer, except for a nine-year old posting that doesn't mention named volumes.
So I have this dockerfile (more or ...
0
votes
0
answers
14
views
Magento 2.4.2 with Zookeeper lock provider throws ZookeeperNoNodeException(code: -101): no node
We recently switched the lock provider in our Magento 2.4.2 devstack from the default database to zookeeper. Initially, everything works fine, but after some time, Magento starts throwing the ...
0
votes
0
answers
30
views
Profiling application using perf with clion docker toolchain
Clion offers a perf integration for profiling applications. Getting this to work when using a docker toolchain is not described online. Is it possible to do this, and how does one manage the different ...
1
vote
1
answer
59
views
Serving js files from static folder in flask app with nginx and Docker
I have a strange issue with js files that cannot be found in a flask app, for which I use nginx in a docker container.
In the HTML template, I have this ref, using the url_for function
<script type=...
Advice
0
votes
1
replies
37
views
Using gpg in docker build step, is there an easier way or option to autokill the agent?
if I import a gpg key during Docker build, it starts a gpg-agent and keyboxd process, which then get terminated abruptly and do not clean up their lock files. So if I then try to interact with gpg ...