91 questions from the last 30 days
34
votes
5
answers
14k
views
Sudden Docker error about "client API version"
I've been successfully using TestContainers with Docker for quite a while now. All of a sudden today, I started getting this error:
UnixSocketClientProviderStrategy: failed with exception ...
7
votes
2
answers
2k
views
Why is openjdk:21 now missing from Docker Hub? [duplicate]
Apparently the OpenJDK distribution for Java 21 is missing from Docker Hub. What happened? I'm certain OpenJDK 21 images existed in these paths before, as I've checked other successful deployments I ...
4
votes
3
answers
341
views
Superset Guest Token
I'm trying to access an Apache Superset dashboard using a guest token, but no matter what configuration I change, Superset always redirects to the login page instead of displaying the embedded ...
0
votes
2
answers
108
views
"docker: no matching manifest for linux/amd64 in the manifest list entries"
I'm trying to run a software on a big-endian architecture. Following the update at the end of this answer, I tried this:
$ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
...
1
vote
1
answer
81
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 ...
1
vote
1
answer
145
views
Azure Container App - Container pull image failed with reason: ImagePullFailure. Revert by terminate
I have a weird error. I can pull the image to my local computer with the credentials I'm using on Azure and it works fine. I don't think it is a network related issue.
However when deploying to Azure ...
2
votes
2
answers
82
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 ...
Advice
1
vote
2
replies
56
views
get digest of saved docker image (the saved .tar file)
tl;dr Given a docker image that was saved to a local file, e.g. /tmp/my-image.tar, how do I determine the image digest (SHA256 checksum) that will match what docker expects?
Given that I save a docker ...
1
vote
1
answer
98
views
keycloak frontend backend network configuraion in docker compose for localhost
I'm running keycloak, next js, and spring boot app using docker compose. Right now I'm having issue in setting up network configurations, usually either I'm getting issuer mismatch in the backend, or ...
Tooling
0
votes
4
replies
108
views
Cache Go dependencies in dev container
I'm trying to build a pre-built dev container (see here). Among others, the app has some Go dependencies specified in go.mod (link to file):
module github.com/jovandeginste/workout-tracker/v2
go 1.24....
-1
votes
1
answer
79
views
WebStorm can not locate WSL files [closed]
I have been working on a project from WSL distribution which used yarn and docker so when I tested the project locally, it took up a lot of space. I already have little space on my disk, so when I ran ...
1
vote
1
answer
98
views
Can uv integrate with e.g. pytorch prebuilt docker env?
So, pytorch requires a rather large bundle of packages. The prebuilt docker pytorch gpu images (https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/running.html) are quite helpful in ...
1
vote
0
answers
85
views
Docker build fails on VPS with chown -R appuser:appuser on Node+Python image but works on Local
I'm building a Docker image based on node:20-slim with a Python virtual environment. My Dockerfile includes:
# Use official Node.js image (stable, small)
FROM node:20-slim
# Prevent interactive ...
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 ...
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 ...
Advice
1
vote
2
replies
68
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
1
answer
50
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
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 ...
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 .
{...}
[+] ...
1
vote
0
answers
73
views
ASP.NET Core app in docker container not accessible
I have an ASP.NET Core web app that sends signal through can bus on Raspberry Pi. When I run the app throught dotnet run it runs flawlessly. I had to dockerize, and in order to have access to can bus ...
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'
...
1
vote
1
answer
62
views
Unable to pass Docker image to run to Ray Job Submit
I pulled this image - rayproject/ray:2.51.0.801bd7-extra-py310 from dockerhub with podman (ray prefers podman internally).
On AWS-EC2 then I started a head instance with - Deep Learning Base AMI with ...
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
0
answers
51
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 ...
1
vote
1
answer
57
views
testcontainers initializing dockerclient twice - the second time on container.start
I am trying to create a container with oracle db to run tests. Due to some restrictions, I have to use rootless podman instead of docker. Here is how I do it:
def _container_env_kwargs() -> dict:
...