Questions tagged [docker]
For questions about building and running Docker containers. DOCKER QUESTIONS MUST BE SPECIFICALLY RELATED TO SOFTWARE DEVELOPMENT. Suitable topics include Dockerfiles, Docker Compose, and architecture. As a rule of thumb, if your question is about something happening inside the container, it's probably on-topic here; if it's outside the container, it is probably off-topic.
docker
155,116 questions
0
votes
0
answers
22
views
Linking error when building LLVM with Debug symbols
I'm building LLVM inside a container, using this Dockerfile:
...
-3
votes
0
answers
45
views
How to fix dhcpcd after dockerwas installed and uninstalled [closed]
I recently installed docker on my debian 12 raspberry pi which somehow changed my network configuration such that even now after I have uninstalled docker, dhcpcd will not add a default ipv4 route. ...
Advice
0
votes
1
replies
26
views
Can docker network be specified for local docker deployment in Skaffold?
I am trying to use Skaffold for local dev loop of building and deploying using local docker deployment feature:
https://skaffold.dev/docs/deployers/docker/
This works fine and builds and starts ...
0
votes
0
answers
36
views
NTFY - Docker Cache Directory does not exist? [closed]
I'm trying to get NTFY to work properly using docker-compose.
My system: Ubuntu 24.04 (Root 0:0), Portainer
NTFY runs on a public domain, I would just like to add a password for security.
I've tried a ...
-5
votes
0
answers
124
views
Unable to create Docker image for OpenClaw [closed]
As mentioned in the docs I am trying to create a Docker image of OpenClaw, but don't want to onboard.
I want to submit the configuration file at the time of running the container. I cant find a way to ...
-4
votes
0
answers
57
views
What’s the consensus on using “side car” docker containers? [closed]
I am looking to implement a sidecar architecture (similar to Kubernetes pods) using standalone Docker Compose. Specifically, I want to separate cross-cutting ...
0
votes
0
answers
44
views
0
votes
0
answers
48
views
Azure Container Instance (ACI) GatewayTimeout when pulling image from private Nexus repository [closed]
I am trying to deploy an Azure Container Instance (ACI) into an existing Virtual Network (VNET) and subnet. The image is hosted on our private Nexus repository located at ...
0
votes
0
answers
29
views
Jenkins Docker container has no internet access on Ubuntu 24.04 LTS [closed]
I am running Jenkins inside a Docker container on Ubuntu 24.04 LTS, but the container is unable to access the internet.
I have already tried several possible fixes, including:
Editing /etc/docker/...
1
vote
0
answers
30
views
How to handle local network access pop up when running automated testing using Docker?
How can I handle local network access pop up in automated testing when running on Docker?
...
-1
votes
0
answers
39
views
Spilo HA cluster with mTLS: BOOTSTRAP_POSTGRES_DATABASES not creating databases and SSL certs not used [closed]
I’m setting up a Spilo (Postgres HA) cluster inside Docker with mTLS for both Postgres and Etcd. I’m facing two issues:
Databases specified in ...
-2
votes
0
answers
28
views
Apache Superset: Localhost refused to connect while embedding Superset through iframe [closed]
I am using version 6.0.0 in Docker Desktop and tried to embed a dashboard in a simple .html file through iframe. But it says
...
-2
votes
0
answers
30
views
Temporal is not running in Docker [closed]
Below is my Docker Compose script. However, Temporal only showing "Waiting for PostgreSQL to startup" when I execute docker compose up.
...
0
votes
0
answers
35
views
gcc:internal compiler error:Segmentation fault signal terminated programcc1
I am trying to build OpenSSL from source inside a Docker container based on an Alpine Linux toolchain image (ghcr.io/nokia/corteca-toolchain). The target ...
-1
votes
0
answers
63
views
How do I help my Docker container find libgtk-4.so.1? [closed]
I'm trying to serve my application via Docker, but it's having trouble finding a GTK shared object file.
Create Dockerfile (see below) which uses the latest Fedora image and calls for docker to run ...
1
vote
1
answer
61
views
Neo4j GraphAcademy Docker Installlation Error on Windows: ModuleNotFoundError: No module named neo4j
I'm trying to get a container running Python to connect to my Neo4j container in Docker.
I'm following the steps in the Neo4j GraphAcademy Python Installation tutorial (https://neo4j.com/docs/python-...
-4
votes
0
answers
32
views
How to access env values defined in a docker container [duplicate]
Introduction
I want to reference the env values defined inside docker container. I want them to be able to them in bash CLI and in bash scripts.
Problem
However, referencing them like ...
-1
votes
1
answer
83
views
Failed Docker build seems to have left a docker image with no name or ID. Only " i Info → U In Use" [closed]
I am seeing the following after running docker image ls
I have tried docker system prune -a as well as,
docker container rm and docker image rm
and I am still seeing the image. I have even removed ...
-2
votes
0
answers
59
views
Echo , Golang , Postgresql , Docker Different Results [closed]
I just start learning Golang and I'm currently using Echo.
I have an endpoint :
- base/api/wallet/cardnumber -> get card details
and I execute "go run .\main.go" and the API provide ...
Best practices
0
votes
2
replies
41
views
Reduce 'Prisma 7' final bundle size in Docker
In my NodeJS project, we have integrated Prisma(v7.3.0) ORM for MySQL database task(previously sequelize). After all the setup is done, we observed prisma occupies very huge size in Docker image ...
0
votes
1
answer
42
views
Is `skopeo copy` of an image the same as a docker tag in regards of layer caching?
Within a gitlab pipeline, I use skopeo and do:
...
0
votes
2
answers
101
views
Can you execute commands using docker hardened images?
We're investigating switching to using Docker hardened images.
But for simple node app:
...
0
votes
0
answers
116
views
MongoDB deployed to rockylinux/rockylinux:8.10 using Dockerfile experiencing critical corruption issues
I’m deploying MongoDB using the Dockerfile below and experiencing critical corruption issues.
Environment:
Inserting approximately 1 million documents per day
Server crashes every 3 days with ...
Advice
0
votes
2
replies
20
views
“Docker context ls” equivalent with the Moby API
I searched for “[moby] context list” or “[moby] context” without success.
If possible, how can I obtain the equivalent result of “docker context ls” with the Moby API?
Any solutions? Any ideas? Any ...
0
votes
0
answers
31
views
Dagster DockerRunLauncher fails with ConnectionRefusedError on /var/run/docker.sock after host Docker daemon restart – stale bind mount in container
I'm running Dagster (with DockerRunLauncher + QueuedRunCoordinator) in Docker Compose on an Ubuntu VM. Everything works fine after a full rebuild/restart, but after ~1 week the daemon starts logging:
<...
Tooling
0
votes
5
replies
34
views
How can I make a Docker container running on Windows (WSL2) accessible from a Raspberry Pi on the same network?
I was running a WASP node (for IOTA) inside Docker on Windows using WSL2. I wanted to access its JSON-RPC API from a Raspberry Pi on the same local network. However, despite exposing ports in Docker, ...
0
votes
0
answers
119
views
How to read/write in minio using spark?
I've build a spark and minio docker container with the below config:
...
6
votes
0
answers
103
views
Docker load fails with wrong diff id calculated on extraction for large CUDA/PyTorch image (Ubuntu 22.04 + CUDA 12.8 + PyTorch 2.8)
About
I am trying to create a Docker image with the same Dockerfile with Python 3.10, CUDA 12.8, and PyTorch 2.8 that is portable between two machines:
Local Machine: NVIDIA RTX 5070 (Blackwell ...
-4
votes
0
answers
50
views
Docker missing context [duplicate]
when trying to run docker compose, docker misses context and actually copying other files
compose:
...
Best practices
0
votes
2
replies
16
views
Using Make with multiple configurations
I have decided to keep all the automation for my projects in Makefile and create a sub-directory structure environments with names of all the environments and setups I have. Sometimes I need to pickup ...
-1
votes
0
answers
39
views
Using .NET 8 as base image from Docker has many 0 length system files
I have a Dockerfile that uses .NET 8 as a base image and builds a C++ application on it.
When it tries to build, I get this error:
...
0
votes
0
answers
28
views
Docker run throws error executable file not found in $PATH when arguments are passed [duplicate]
I Have a python program which I containerized. The script accepts command line arguments. Arguments are correctly processed when running the script directly from the IDE. But if I run the container ...
2
votes
1
answer
120
views
RuntimeError: Failed to import transformers ('NoneType' object has no attribute 'split') with Python 3.11, TensorFlow 2.15 & Docker
I am encountering a critical RuntimeError during the startup of my Dockerized FastAPI application. The error occurs specifically when ...
1
vote
1
answer
61
views
Cannot seem to call poetry installed packages in Docker image (redhat)
I'll preface by saying I'm not familiar at all with any Redhat specific differences, but I'm running into what seems like it should be a simple issue. I have a Redhat 8 image and the following lines ...
-4
votes
0
answers
50
views
Testcontainers fails on macOS Tahoe with "client version 1.32 is too old" despite modern Docker [duplicate]
A Java Spring Boot project using Testcontainers (JUnit 5, Maven) suddenly started failing integration tests on macOS Tahoe with errors like:
...
0
votes
1
answer
84
views
Cannot attach to the container with name/id <container name>, it no longer exists
PC Setup:
Windows 11 + WSL2
Docker Engine installed in WSL2 (no Docker Desktop installed on Windows)
VSCode (occured with various versions of VSCode and extensions)
Extension: Dev Containers
...
0
votes
1
answer
53
views
Problem trying to conect a Postgres DB with Spring Boot via Docker
I already stopped and removed all the previous containers and volumes, but it is not working because of an authentication problem even though both passwords in the Docker and properties file are the ...
0
votes
1
answer
57
views
Deploying SpringBoot backend on server. URL/URI not hierarchical due to jar file
I'm working on a project for school. It's almost finished I just need to deploy the application to a server. I am doing this step-by-step.
I have built the application on the server using the command ...
-1
votes
0
answers
73
views
Composer install fails in Docker: curl (35) OpenSSL SSL_connect SSL_ERROR_SYSCALL when fetching repo.openclassify.com/packages.json
I’m trying to run a Laravel project inside Docker (PHP 8.2 container).
The project uses a private Composer repository (https://repo.openclassify.com) defined in <...
2
votes
1
answer
69
views
k8 cluster ASP.NET Core 8 error exec /usr/bin/dotnet: exec format error
I have notification service that I have in a docker image and am trying to push to a aks cluster.
locally everything works with docker desktop and k8 cluster thru docker desktop. I am running windows ...
0
votes
1
answer
107
views
sqlcmd command not found in SQL Server 2022 Docker container
I'm running SQL Server 2022 in Docker:
bash
...
2
votes
1
answer
79
views
Hyperledger Fabric deployCC fails with "broken pipe" error on Docker Desktop 4.56.0
While trying to deploy chaincode (Go) on the Hyperledger Fabric test-network using ./network.sh deployCC, the process fails during the build phase.
...
0
votes
0
answers
39
views
How to restart CKAN processes (but not jobs/worker) inside running ckan-docker dev container?
I’m developing CKAN extensions using the official ckan-docker setup with the dev images and need to restart CKAN after various updates in my extension.
Inside my ...
0
votes
1
answer
201
views
ERROR: failed to build: failed to solve: openjdk:17: failed to resolve source metadata for docker.io/library/openjdk:17-oracle: [duplicate]
I have created a java appliction, I wish to upload the appliaction as a docker image.
The Problem is it looks like Java 17 is not supported, or no longer supported.
I have used
FROM openjdk:17
I got ...
Best practices
0
votes
2
replies
27
views
Best way to host multiple EMQX instances per server
I am currently using EMQX as a chat message delivery system paired with a laravel backend for flutter mobile apps. Each client should have his/her own EMQX to provide more security + accurate ...
1
vote
0
answers
73
views
Newman API tests failing with Cloudflare Access headers
I'm running Newman API tests in a GitHub Actions workflow that needs to pass Cloudflare Access headers. The workflow is failing even though I believe I've implemented everything
...
1
vote
1
answer
219
views
Error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory
I am trying to set up a docker container using the nvidia container toolkit on a remote server, so that I can run cuda programs developed with the Futhark Programming Language - however, the issue ...
3
votes
0
answers
65
views
Cannot attach VS Code to Spark container: Permission denied creating .vscode-server in /nonexistent
I'm getting what I feel should be a super simple error, but I'm having a tough time figuring out what I'm doing wrong. I want to open a running container in VS Code, but I keep getting a permission ...
Best practices
1
vote
0
replies
24
views
Best practice to build flutter docker image on mac non-x86 for use on x86-64 machine
We have a flutter docker image (base image is debian for build and nginx for deployment)
The resulting container has to run on an x86-64 machine (uname -m is x86_64)
If we build the image on an x86-64 ...
0
votes
0
answers
46
views
Strapi CORS not working behind Nginx Proxy Manager (Docker), headers always empty
I'm running a Strapi backend behind Nginx Proxy Manager (Docker) and trying to enable CORS.
Strapi version: latest
Nginx Proxy Manager: latest Docker image
I want to allow requests from my frontend ...