140,182 questions
0
votes
0
answers
4
views
How to install extenions from source in postgres or supabase using docker and docker-compose?
I am extending the supabase image to install apache age but when I run my migration to add the extension I get: extension "age" is not available
dbmate-1 | Applying: ...
0
votes
0
answers
17
views
An Aspir8 build on .NET 9 substitutes periods for hyphens in docker image tag
I have a simple Aspire app with an API (Using ASP.NET WebAPIs on .NET 9), a DB Migrater project and a Worker service. When I run:
aspirate build -crp 'neodevacr.azurecr.io/neoadj'
It generates all ...
0
votes
0
answers
10
views
Unable to send messages to kafka conatainer from non-containerized producer
Inititally I had this setup to launch kafka in container:
kafka:
image: wurstmeister/kafka:latest
ports:
- "9092:9092"
expose:
- "9093"
environment:
...
0
votes
0
answers
20
views
Unable to read messages from kafka broker with PySpark
Problem: I am trying to connect to a Kafka broker using PySpark, but when consuming messages from the test-topic, I receive empty NULL values instead of the expected JSON content.
consumer.py code
def ...
0
votes
0
answers
18
views
How to stop docker container when tab/browser closed?
I created a simple streamlit app that runs within a container on local host 8501. Is it possible to stop the container automatically when tab or browser closes?
0
votes
0
answers
14
views
Unable to install libjemalloc2 with amazoncorreto image
I am trying to migrate from openjdk-17 to amazoncorreto java 17 but stuck with 3 libs which I am not able to figure out. Currently I am using below base image(which extends from debian 11 and has apt-...
0
votes
1
answer
19
views
Update CPAN-2.28 to latest version on Ubuntu docker image
I have a Docker image with Ubuntu and I need to update
CPAN-2.28 to latest version. I tried to run:
RUN apt-get install libyaml-syck-perl libtemplate-perl libwww-perl
RUN perl -MCPAN -e shell
But I ...
0
votes
0
answers
14
views
Strapi TypeError [ERR_INVALID_URL]: Invalid URL on AWS
I have Strapi headless being built in AWS CodeBuild and CodePipeline and then hosted on and run on ECS. All the logs are showing the secrets values, the database values, host, port, admin URL that is ...
-4
votes
0
answers
28
views
Build and publish container fails in GitHUB
When my workflow runs the build and test gradle passes but build and publish container fails in GitHUB. It fails when running the docker file in line 8. Here is the screenshot of the fail and my ...
0
votes
1
answer
25
views
Why is du reporting that docker is taking up more space than is available on the EBS volume? [closed]
I have an EC2 instance running docker on Ubuntu 24.04, with a 30Gb EBS (gp3) root volume.
I see mkdtemp: private socket dir: No space left on device when I log into it because the container has done ...
0
votes
0
answers
6
views
Creating a MySql container while mapping each db to a unique volume
Im trying to create a MySql Container while mapping each db to a different volume,
unfortunatly im getting:
my compose look like:
i made sure to give the correct permissions, but i still cant map ...
0
votes
0
answers
14
views
Understanding Port Configuration and Best Way to Connect RAK7289 Gateway to ThingsBoard via MQTT Using Docker
I’m currently working on connecting a RAK7289 gateway to ThingsBoard using Docker on Pop!_OS, following the official ThingsBoard tutorial for adding a gateway. I have two Docker containers running: ...
0
votes
2
answers
40
views
How to Optimize Docker Multi-Stage Build for Faster node_modules Copy?
I'm trying to optimize my Docker multi-stage build for a Node.js application, specifically focusing on reducing the time taken to copy node_modules. Currently, the step that copies node_modules from ...
0
votes
0
answers
21
views
Docker container of xampp stops although having a running service inside of it [duplicate]
I have such Dockefile
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \ ...
-1
votes
1
answer
23
views
Access Docker container database with MongoDB Compass
I have a MongoDB running in Docker, but I can't connect to it from MongoDB Compass.
My docker-compose.yml exposes port correctly :
ports:
- "27017:27017"
When I connect inside my container I ...
0
votes
1
answer
24
views
Make docker containers inside a network accessible externally
So, my situation:
2 docker containers: postgres and a server. I want to run them in a way, that:
prevents external access to postgres
allows server to access postgres
allows external access to server
...
0
votes
0
answers
34
views
db2 on docker not showing sample database
I am trying to create a db2 instance and a sample database using docker. Below is my docker compose entry:
db2:
image: icr.io/db2_community/db2
privileged: true
restart: always
...
0
votes
0
answers
20
views
Gitlab-CI / Docker runner - How to get clean docker container for each pipeline?
I'm working on a basic continuous integration (I worked with Gitlab since few years now).
I use a docker runner with a custom image (basic Ubuntu with quiet nothing inside...).
Here is the gitlab-ci....
0
votes
0
answers
42
views
Docker Compose Java containers fail to start with "Failed to start thread 'VM Thread' - pthread_create failed (EPERM)"
I'm trying to run a multi-container application with Docker Compose that includes Java services, but I'm running into an issue with the Java containers. The web container (Next.js) starts fine, but ...
-1
votes
0
answers
15
views
Splunkforwarder Startup Error in Docker containers
Commands used to run docker image:
docker run -d -p 9997:9997 -p 8080:8080 -p 8089:8089 -e "SPLUNK_START_ARGS=--accept-license" -e "SPLUNK_PASSWORD=test12345" --name uf ...
0
votes
2
answers
42
views
SQLSTATE[HY000] [2002] Connection refused web | web | web | In PDOConnection.php line 27: web | web | SQLSTATE[HY000] [2002] Connection refused
I am trying to build a laravel application using docker compose and I keep getting this error. I have tried to change the DB_HOST variable in env file from local host to 127.0.0.1 vice versa but it ...
0
votes
0
answers
29
views
Localstack opensearch : Unable to find operation for request to service es
Im setting up an opensearch cluster using Localstack on a kubernetes pod, which is exposed via a Kubernetes service. When making a search request to this open search domain on localstack, I get the ...
0
votes
1
answer
22
views
Postgres authentication messeges in log
I'm using in Postgres 17.1 on Ubuntu using docker.
I get a lot of messeges in the log:
2025-03-05 07:33:40.707 UTC [57] FATAL: password authentication failed for user "postgres"
2025-03-05 ...
2
votes
0
answers
19
views
Not able to access GPU within the docker container
I am using Ubuntu 22.04. I have nvidia-570 driver installed along with cuda 12.4 on my host machine. However, I am not able to access gpu in my container.
This is my docker-compose-file
version: '3.8'
...
0
votes
1
answer
24
views
Java Application in Docker Container Can't Access IMDS, but Curl Works
I am running a Java-based Docker container (eclipse-temurin:21-jdk) inside an EC2 instance using Docker Compose. I understand that by default, Docker containers cannot access the host network unless ...
0
votes
0
answers
44
views
Localstack docker opensearch setup : Permission denied error [closed]
Im setting up an opensearch cluster using Localstack on a kubernetes pod, which is exposed via a Kubernetes service. Im setting this up using awslocal cli, and I get a Permission Error when the open ...
0
votes
0
answers
41
views
Docker ADD command does not seem to honour --chown parameter
I am working on a docker file to create a flutter development environment and learn docker containers. In the process, I came across an incident where docker does not seem to work what it is supposed ...
0
votes
0
answers
9
views
How to tell lima CLI to use Rancher Desktop daemon?
I have Rancher Desktop installed and its deamon is running in the background. I also have the lima commandline tool set up and docker aliased to lima nerdctl.
Now I want to execute some commands on ...
-1
votes
0
answers
22
views
rails app container with kamal deploy and ipv6
this problem has been bothering me for several days.
basically I would like to enable the ipv6 network and the ipv4 network inside my docker container of the rails 8 app
it seems that this connects to ...
0
votes
0
answers
9
views
TAO Command Not found, whenever trying to run nvidia model inside TAO TOOLKIT TENSORFLOW docker container on WSL2
Hello even though I am inside the TAO toolkit tensorflow I am still having the issue of decrypting a model with tao
docker run -it --rm -v /home/models:/workspace/model_dir -p 8888:8888 --runtime=...
0
votes
0
answers
19
views
Write Timeout for Batch Vectorization in Docker – TLS & Container Restart Issues
I'm building a chatbot that uses Weaviate and t2v-transformers for vectorizing my knowledge base. My way of sends batches like this:
var batchResponse = await _httpClient.PostAsync($"{...
0
votes
0
answers
21
views
Docker Build Fails: "Failed to Resolve Metadata for maven:3.8.6-openjdk-21-jdk"
I am trying to build a multi-stage Docker image for a Java Spring Boot application, using Maven (OpenJDK 21) to compile the code and OpenJDK 21 as the runtime environment.
My Dockerfile:
# Stage 1: ...
-1
votes
1
answer
22
views
Does Node-RED require hashed passwords in settings.js for adminAuth with Docker?
I'm trying to set up a Node-RED Docker container with a custom module and password protection using adminAuth. However, I suspect that my approach to authentication won't work because Node-RED ...
0
votes
1
answer
26
views
An error occurred while installing gem in a Dev Container of Rails
I am creating a brand new project on Rails using MySQL as the database.
To set it up, I first installed rails-new from https://github.com/rails/rails-new?tab=readme-ov-file#installation
Then ran rails-...
0
votes
0
answers
53
views
How to resolve CVE-2025-27113 vulnerability? [closed]
I am getting CVE-2025-27113 from JFrog scan in a React.js application. I am using Docker base image 23-alpine3.20.
Tried different versions of Docker base image but the issue is consistent. Does ...
0
votes
0
answers
14
views
Static resources are not loaded in asp.net core project deployed using docker compose
I have installed fnOS (NAS OS) recently, now I am facing static files not been loaded issue when use the docker feature.
Error in logs.
Request reached the end of the middleware pipeline without ...
1
vote
1
answer
42
views
How to Set NEXT_PUBLIC_* Environment Variables After Next.js Build in Docker?
I'm trying to implement a "build once, deploy everywhere" approach for my Next.js application. I've managed to configure environment variables for server-side components, but I'm struggling ...
1
vote
0
answers
8
views
Error response from daemon: could not select device driver "nvidia" with capabilities: [[utility compute]]
I'm trying to build a docker for realtime-whiper. The build process finishes successflly but at the end it gives this error:
Error response from daemon: could not select device driver "nvidia&...
0
votes
0
answers
31
views
Docker container unable to connect to remote host
I have a docker container which is running on OL9 image. The app connects to a database running on a different host on port 30042. When the container starts, its able to connect to the DB and work ...
0
votes
0
answers
14
views
.Net Aspire 9.1 - Service Discovery does not find Postgres server
These are my codes in AppHost
var postgres = builder
.AddPostgres("Postgres", port: 5432)
.WithImageTag("latest")
.WithContainerName("MyDatabase-PostgresDb-Aspire&...
0
votes
0
answers
30
views
Docker error "cannot program address 172.19.0.3/16 in sandbox interface because it conflicts with existing route"
I am trying to run these containers for a ctf on my kali machine, but when I run the command I encounter this bunch of errors, tried doing a clean install of docker as I'm new to it, still get the ...
0
votes
0
answers
24
views
Issues with setting discourse up on localhost
I’m trying to set up Discourse locally using Docker on Windows, but I’m running into errors. Here’s what I’ve done so far:
Installed Docker Desktop and ensured it’s running.
Cloned the Discourse ...
0
votes
0
answers
40
views
Docker container not reachable from outside [closed]
I just set up a basic Nginx container with the same effects as my Docker Compose project where I stumbled in this problem.
# docker --version
Docker version 28.0.1, build 068a01e
# uname -promi
6.8.0-...
0
votes
1
answer
51
views
Selenium instantly crashes when running in Docker container
I'm encountering an issue when trying to run a selenium script in a docker container, I've spent quite a while going back and fourth with several AI's and none could fix it, I'm attaching the message ...
-2
votes
0
answers
17
views
Replace webserver docker image with an own one [closed]
For infrastructure purpose, we are using an own webserver Docker image from our own Dockerfile. Is there any recommended way to use an own Docker image for webserver and replace the default one by ...
-1
votes
0
answers
30
views
Unable to login Open WebUI?
Was unable to login open webui, created one new account but it was asking for admin rights
Here are the steps you can try:
Run an interactive shell.
docker run --rm -it -v open-webui:/data alpine sh.
...
-3
votes
2
answers
63
views
Error while exporting to Google Sheets 'could not locate runnable browser'
I am exporting my data in Google Sheets using gspread library for Python. In local everything worked fine, a browser opens for auth and is able to export it. When I deploy it on prod in a Docker ...
1
vote
0
answers
26
views
Custom Container on Vertex AI Returns "405 Method Not Allowed" for /predict Endpoint
I'm encountering an issue when deploying my custom container on Vertex AI. Locally my Flask server (running via Gunicorn) works perfectly—both the /predict and /health endpoints respond as expected. ...
0
votes
2
answers
26
views
Cannot install Longhorn in Rancher running using Docker
I installed Rancher as outlined in their github Quick Start:
sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher
I then went ahead and tried to install ...
-1
votes
0
answers
54
views
Symfony Docker Nginx error : File not found
I am a beginner in Docker and I am trying to create a Symfony project with a basic configuration such as a MariaDB database, a mailpit and administrator to consult my database in a dev environment. To ...