32,612 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
1
answer
11
views
Docker-compose fails to create table on startup for Spring WebFlux/Postgresql
My application is running but the docker-compose is not creating the tables for me in my postgres docker container. At a loss for this at this point. Below is my relevant code
docker-compose
version: '...
0
votes
0
answers
9
views
How to fix Mixed Content issue in Pterodactyl Panel when switching from HTTP to HTTPS?
I’ve recently set up the Pterodactyl Panel on my server using Docker. The panel works fine and I’m using SSL to serve it over HTTPS. However, I’m encountering a Mixed Content issue on my site.
When I ...
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 ...
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
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 ...
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 ...
-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 ...
-1
votes
1
answer
55
views
Docker not able to detect mySQL image
I have three containers I am trying to set up for my Tomcat Server/Spring Boot project. Two of them are currently up and running using mysql 8.0.33 and mysql 5.7
I'm currently trying to compose the ...
0
votes
1
answer
17
views
Docker Compose works in Visual Studio but fails in Rider: Failed to connect to 127.0.0.1:543
I have a docker componse file:
services:
postgres_db:
image: postgres:latest
container_name: postgres_db
restart: always
environment:
POSTGRES_DB: drugsdb
POSTGRES_USER: ...
-3
votes
1
answer
47
views
Error Handling Environment Variables Natively in Node.jsv22 Within a Container
I am trying to work with .env files natively, as starting from Node.jsv20 (I am currently using version v22.14.0), it is no longer necessary to install libraries like dotenv to manage environment ...
0
votes
0
answers
13
views
I can't set up artifact location on docker compose [mlflow & mlflow-recipes]
I am using mlflow recipes to build a classification model. However, I coulnd't set well artifact_location on local.yaml.
On my local.yaml file when I set as shown as below on my PC, it works perfectly
...
0
votes
0
answers
21
views
Incorrect ELASTICSEARCH_URL Environment Variable Causing bad URI (is not URI?) Error in Rails with Searchkick
I'm working on a Rails application using Searchkick with Elasticsearch running inside a Docker container.
When I try to start my Rails server, I get the following error:
bad URI (is not URI?): <&...
0
votes
0
answers
22
views
I was trying to compose docker for searxng but i got an error [closed]
when i use docker compose up -d it says error during connect i am on windows 11
i tried the command: "docker compose up -d" but it gave me this error: error during connect: Get "http://%...
1
vote
0
answers
41
views
Docker swarm will not deploy stacks, stuck at 0/1 replicas
Problem
I'm testing Docker Swarm and it won't deploy any stacks: after stack deploy, the replicas remain at 0/1.
It's a two-node cluster of 1 manager and 1 worker. The manager is set to drain, so ...
0
votes
1
answer
40
views
Nginx reverse proxy configuration problem
I have the follwoing nginx configuration :
server {
listen 80;
server_name /*public ip address here , did not want to share it*/;
# listen 80;
# server_name _;
Proxy requests to ...
0
votes
1
answer
19
views
OpenIddict Token Introspection Returns "active": false – Issuer Mismatch in Docker Environment?
I'm running an application in Docker with two services: an identity service (using OpenIddict to issue tokens) and an api service (using OpenIddict validation middleware). The services are defined in ...
-2
votes
0
answers
29
views
I can't solve this docker error. Can someone help me? [closed]
Here's a link to the dockerfiles and errors I ran into:https://gist.github.com/Enigma014/9e7938b5ea36b9f45872e52af4949dfe
Link to the project incase you want to check the project structure:
https://...
0
votes
0
answers
28
views
How can I make my docker container available on host machine within a multi service config?
I'm running a multi-container setup using Docker Compose that includes several services. My pgAdmin service is configured to map port 80 inside the container to port 5060 on the host:
pgadmin:
image:...
0
votes
0
answers
35
views
Could not load the "sharp" module using the linux-x64 runtime [closed]
I can't manage to get the nodejs sharp library work in production environment. The package is installed in a backend package of my monorepo.
The structure of the repo looks like this:
my-monorepo/
├── ...
0
votes
0
answers
25
views
Java application cannot use all memory inside a Docker container [duplicate]
My development environment is macOS Sequoia 15.3.1 and my Docker engine is served by Rancher Desktop 1.17.1. The preference Virtual Machine > Memory is set to 4GB for memory.
I have a Docker ...
1
vote
1
answer
37
views
I can connect from outside but not from inside a redis container?
I am trying to start a Redis Server with tls and run it in a container that is connected to a docker network named site. After setting bind to bind * -::*, protected mode to off, and setting tls-auth-...
-1
votes
0
answers
21
views
docker compose and Dockerfile can't find my file
I have the following project structure:
project-root/
├── docker-compose.yml
├── requirements.txt
└── app/
├── app.py
└── Dockerfile
And my Dockerfile is:
FROM python:3.10-slim
WORKDIR /app
...
0
votes
1
answer
17
views
Can i use Docker Compose in dotnet template?
I am trying to create a dotnet template using dotnet new (for Visual Studio). It mostly works fine, apart from docker compose. I tried to include a docker compose project (.dcproj) just as everything ...
-2
votes
0
answers
23
views
How to expose kalilinux/kali-rolling on my network with colima [closed]
I have installed Colima and kalilinux/kali-rolling on my MacBook Air M1, but I want to test my website using the traceroute command.
To do this, I need to expose my kalilinux/kali-rolling container as ...
0
votes
1
answer
41
views
.NET 8 docker container doesn't access Mongodb container [closed]
I have implemented and tested correctly locally in my pc a simple ASP.NET Core 8 Web API which access a local mongodb running in a docker container (localhost:27017). The app I implemented is this ...
0
votes
0
answers
27
views
Error. while Docker-compose file on MacOS
I am not being able to run my docker compose on mac which runs flawlessly on linux.
While i try to run
docker compose -f fileName.yaml up
version: '3.8'
services:
vfxcore:
image: registry....
0
votes
0
answers
19
views
ERROR: role "projectuser" does not exist, Docker-Compose and CreateDatabase.SQL having issues finding *USER* [duplicate]
i was tryng to set up multiple databases via Docker Containers (Docker-Compose.yml) and encountered this error doing so:
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/...
0
votes
2
answers
41
views
SpringBoot App in Docker Container cannot talk to Database already in another container
I apologize for this question up-front. I am new to Docker and have been slowly trying to learn it. I did look at many other questions to this to see if I actually could post this, or is my question ...
-1
votes
0
answers
26
views
docker volume/mounting structure [duplicate]
i cant figure out how to set up docker volumes so i can have custom files on host mounted to the container but not overwrite contents of the container, at the same time i want the container to be able ...
0
votes
0
answers
17
views
Which URL to use when doing a REQUEST from a dockerized React app to a dockerized FastAPI app? "http://localhost:8000" or "http://name-of-backend"? [duplicate]
What I have:
I have two docker containers: One dockerized React app and one dockerized FastAPI backend. Both are in the same docker network and in separate containers.
In my docker-compose.yml file I ...
0
votes
0
answers
58
views
Why does database keep dropping when running MySQL in container?
For context I am running a PHP Laravel web app using Laravel Sail on a digital ocean droplet with 2GB memory.
The problem I'm running into is that after running for a certain amount of time (seems ...
1
vote
2
answers
40
views
How to fetch .env values to assign alertmanager.yml file (not a valid value)
In my spring boot project, I connect alertmanager with prometheus and grafana but I cannot fetch properties values from .env and assign them to alertmanager.yml
Here is the alertmanager part of docker-...
2
votes
0
answers
20
views
The manifest digest is missing after a push to a gitlab container registry
I am trying to build a docker and send it to a container registry.
When i check to container registry the manifest digest is missing.
I use those commands:
docker-compose build X.web X.webapi
docker ...
-1
votes
1
answer
18
views
How to use docker compose to run a non service image?
I translated this command docker run -v /etc/timezone:/etc/timezone:ro -e TZ=Europe/Paris -it debian bash into this docker compose YAML file using this site :
$ cat dockercompose-debian.yaml
name: ...
0
votes
0
answers
37
views
/opt/whatsapp/bin/web_setup.sh: line 368: WACORE_PORT_6250-6253_TCP [closed]
While upgrading my whatsapp on-premise API i am getting this error on my waweb container.
I have checked the yml file but didn't find the specified env variable. Checkinhg the described script is not ...
0
votes
0
answers
35
views
setting up a postgres database in my docker-compose containers. Why isn't my .bak file restoring the database?
Context: I'm deploying a localhost version of a website to do some troubleshooting. It's a Django website running Mezzanine (yes it's very old, hence the debugging).
The website has a Postgres ...
0
votes
0
answers
20
views
kafka setup from docker-compose
Hi I'm currently setting up Kafka with Docker. If I mention like below in docker-compose, I am able to expose Kafka container to non-dockerized applications but docker applications are not able to ...
0
votes
0
answers
15
views
docker compose file and certbot container keeps restart
iam running odoo by docker compose and get
bfd9cccbf689 certbot/certbot "/bin/sh -c trap exi…" 16 minutes ago Restarting (0) 39 seconds ago ...
-1
votes
1
answer
35
views
How to Fix 'SQLite OperationalError: Attempt to Write a Read-Only Database' in a Dockerized Flask App
I want to use sqlite db in docker container but when I try to add or change data I get this error
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app....
0
votes
0
answers
37
views
Axum is returning CORS error on virtual local host
The frontend is on app.example.test. The backend is on api.example.test. The error I'm getting is CORS error on fetch but getting ok 200 on preflight:
Using local host in /etc/hosts to emulate real ...
0
votes
1
answer
13
views
Attach to a container + auto install plugins
I'm having an issue to setup correctly my project. I have a docker-compose, that I must launch using a custom bash function to create some files and setup the environment. When the containers are ...
0
votes
0
answers
12
views
how to do a container in docker compose access a computer in the network outside of docker networks [duplicate]
Is it possible to my proxy-forum-api container access my physical computer (192.168.1.162)?
I want to map the path /ubuntux to http://192.168.1.162
I can use the external network or host mode, but ...
0
votes
0
answers
37
views
Spring Boot Microservice Not Using CONFIG_SERVER_URI from Docker Compose
I'm deploying a Spring Boot microservice using Docker Compose, but it's still trying to fetch its configuration from http://localhost:8888 instead of the config-service container.
Spring Boot ...
0
votes
1
answer
71
views
Docker Compose. Port is assigned but when I netstat it shows nothing [closed]
I've no idea why this is happening and I am not good at asking questions.
It was fine a week ago after someone pushed this problem occurred.
We are using Gitlab. just in-case.
Here is Docker Compose
...
0
votes
2
answers
177
views
Troubleshoot chromadb configuration with semantic kernel and docker compose
I have semantic kernel Open AI configuration that uses chromadb.
// Initialization
var collectionName = "mydataMemory";
await chromaClient.CreateCollectionAsync(collectionName, ...
-1
votes
1
answer
55
views
Docker postgresql can't log in from java
I made a docker-compose database
services:
db:
image: postgres:latest
ports:
- "5432:5432"
restart: always
environment:
POSTGRES_USER: postgres
...
-1
votes
2
answers
52
views
docker-compose.yml to Terraform.tf
I am admittedly play around. But, only way to learn is to start at the bottom. I am trying to figure out how to get this most basic of docker-compose yaml files into an equivalent terraform.tf file. ...