140,162 questions
0
votes
0
answers
12
views
Configuring Traefik to use a different SSL port using just commands and just valid SSL certificates
At the Traefik example posted at:
https://github.com/bluepuma77/traefik-best-practice/blob/main/docker-traefik-dashboard-letsencrypt/docker-compose.yml
a) How this code can be modified to NoT use ...
0
votes
1
answer
22
views
How to set up docker compose with django and pdm
I have a django project with pdm and docker compose and I set up the codebase volume to enable django hot reload and debugging in the container. Building with the compose config works fine but when I ...
0
votes
0
answers
16
views
Set postgres RDS as metadata backup for Superset
I'm trying to store the metadata of my superset dashboard running on a EC2 in a RDS.
My rds:
resource "aws_db_instance" "default" {
allocated_storage = 10
identifier ...
-1
votes
0
answers
21
views
how to display month in French languange in a python application deployed inside a docker container on Debian [duplicate]
I have a simple python application, when I run it in localhost (windows machine) it works as expected, and the months displayed in French, but when I deploy it on Debian inside a docker container, the ...
0
votes
0
answers
29
views
Cannot load databricks in my container because of numpy import error
I have a fairly simple Docker file to deploy on Lambda
FROM public.ecr.aws/lambda/python:3.9
COPY requirements.txt .
RUN pip install -r requirements.txt --target "${LAMBDA_TASK_ROOT}"
COPY ...
0
votes
0
answers
12
views
odd rsync issue, only inside docker image w/gitlab ci
I’m using Docker version 28.0.4, build b8034c0 on Ubuntu 22 lts. I have my image done and working and now I’m trying to rsync from the image to a server. I do this twice, from local-one to remote-one ...
-4
votes
0
answers
55
views
Docker compose environment variable is not show as it should be by the program running inside the container
I have a program written in C++ (this one, for reference). It can take some parameters by env var and it prints it in the logs this way:
$ ORION_REQ_TIMEOUT=0 contextBroker -fg -logLevel INFO
...
time=...
1
vote
0
answers
23
views
How does Docker's use of the host OS guarantee cross-platform compatibility? [closed]
I understand that a key difference between VMs and Docker is that Docker uses the host operating system (OS), whereas VMs simulate a full OS, including their own kernel. Now, I'm confused about one ...
0
votes
2
answers
36
views
Getting Connection Timeout Instead of Connection Refused When Calling redis-cli PING [closed]
I don't have any redis-server running and I want the redis-cli PING to return Connection refused. Instead I got Connection timeout which confused me because I don't have any running redis-server.
Is ...
0
votes
0
answers
14
views
Error occurred prerendering page "/_not-found" when deploying next.js project using docker
I have my next.js project up and running locally. However, when I upload the build to server (I'm using docker), it fails with the error:
100.2 Generating static pages (0/12) ...
101.7 Error ...
0
votes
1
answer
45
views
PyTorch with Docker issues: torch.cuda.is_available() = False
I'm having an issue with PyTorch in a Docker container where torch.cuda.is_available() returns False, but the same PyTorch version works correctly outside the container.
Environment
Host: Debian 12
...
-4
votes
0
answers
30
views
Can I convert an AMD - based docker image into an ARM - based one if the foundation docker image is only AMD - specific?
I tried using docker buildx, but it seems to require the target platform's image to execute.
qemu-user-static only supports running arm images on the amd platform.
The git readme states: "...
2
votes
0
answers
64
views
Cloud Run installs JS Modules every call
I have a cloud run function in python, and some JS files. The python code calls the JS code via processes. For some reason every time I call the cloud run function it seems to install jsdom which ...
0
votes
0
answers
34
views
Flyway Java : No database found to handle jdbc:postgresql://localhost:5438/java
i have pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0
answers
21
views
Podman containers refuses connections to host.containers.internal
Recently switched from using Docker Desktop to Podman for running a set of containers and now having issues with Podman containers calling containers that a running on the local machine, in this case ...
0
votes
0
answers
17
views
ASP.NET in Docker: The key ring does not contain a valid default protection key
I have an ASP.NET (NET 9) service packed to Docker (Linux).
When I run it
http://localhost:61000/login
I receive:
System.Security.Cryptography.CryptographicException: An error occurred
while trying ...
0
votes
0
answers
17
views
Docker Plugin: How to know if remote image has changed?
I use a docker plugin (rclone) to mount a volume inside my docker images. To update this plugin, I need to stop all volumes, remove them, disable the plugin and then upgrade it. This impose a too long ...
0
votes
0
answers
29
views
Dockerize .NET 8 Web API Application with Kestrel on AWS App Runner – Port Binding Issue
The issue was resolved by running: docker build --platform linux/amd64 -t apim/mainapi .
I'm trying to deploy a .NET 8 Web API application to AWS App Runner using Docker. I've successfully built the ...
0
votes
0
answers
43
views
Error connection Docker SQL server : The server was not found or was not accessible
I want to connect to a SQL Server instance in Docker via Microsoft SQL Management Studio.
Here's the docker compose:
services:
reactapp1.server:
image: ${DOCKER_REGISTRY-}reactapp1server
...
-1
votes
1
answer
41
views
Cant install rvm on docker
Cant installenter image description here rvm on docker. Im new to all this stuff, so I guess there is a silly mistake which I cant see. I've created folder in which I have Dockerfile and docker-...
0
votes
0
answers
16
views
FFmpeg container is unable to communicate to my application container in Quarkus [duplicate]
I'm working on a application where i am running different container such as clamav,postgres,my quarkus application.all the configuration is defined in docker compose file.now i want to perform some ...
1
vote
1
answer
28
views
What is the good way to Debug Code Using Remote Docker?
I’m trying to debug my code on a remote server that has specific hardware devices (such as GPUs), while my local machine is just a MacBook. The remote server’s environment is set up inside a Docker ...
-1
votes
1
answer
80
views
Terraform ACI image pull with docker SSO
I'm having trouble with ratelimiting on dockerhub images and azure container instances. Our company offers a paid Docker subscription that should help, but I don't have a password, only SSO.
How can I ...
0
votes
0
answers
26
views
Forward Docker port in firewalld only for specific interface
I'm trying to secure a VPS running Docker containers so that their exposed ports are only accessible through a VPN interface (in my case it's Tailscale). In order to do that, I read about firewalld ...
0
votes
0
answers
66
views
What's causing this git error when I try to deploy a Ruby on Rails app using Kamal?
I'm trying to deploy a basic Ruby on Rails app, however when I run either "kamal setup" or "kamal deploy" I get the following error.
INFO Cloning repo into build directory `/tmp/...
1
vote
1
answer
39
views
cronjob hour setting is being ignored in docker alpine container
I created a script called 'main.py' that does a little web scrape and sends an e-mail with SMTP.
I set up a cron job to run the script three times a day - at 12:00, 18:00 and 21:00 (UTC-3).
I didn't ...
0
votes
0
answers
34
views
I'm trying to create docker-compose file, but I keep running into errors that are listed in the logs
This is my Dockerfile:
FROM openjdk:24
ARG APP_JAR=*.jar
COPY ${APP_JAR} app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
EXPOSE 8080
This is docker-compose:
version: '3.1'...
-1
votes
0
answers
46
views
Docker - developing across multi-repo
How do I configure Docker to develop two dependent Python repositories efficiently?
In development: mount framework into runtime using volumes for fast iteration (hot reload).
In production: build a ...
0
votes
0
answers
22
views
How can I deploy a web app with prisma to docker with different os binaries?
Im building my first website on docker and it uses prisma. My project is on windows and I am building onto a linux base-image which I assume is causing problems. When I build my docker file I get the ...
2
votes
1
answer
67
views
How to intercept all packets from eth0 of container interface by dpdk application in docker container
I have setup hugepages, created container and deployed dpdk application to container, but my application return 0 for rte_eth_dev_count_avail, what could I miss
arguments which I pass for application:...
-2
votes
0
answers
43
views
RHEL UBI image: sudo: PAM account management error [duplicate]
To give more details about my issue, I'm giving all the commands to reproduce the issue. My issue is not about creating user, but well being unable to run some commands like sudo, crontab… as a non ...
-1
votes
0
answers
31
views
Deployment Failing: Chrome Non-Headless Mode Requires Xvfb Setup on Railway
I’m deploying a Python app that uses Botasaurus (a browser scrapping automation library) to parse a website requiring Chrome in non-headless mode (headless=False). The app works locally with Docker (...
0
votes
0
answers
85
views
Installing OpenCV using conan.io [closed]
I would like learn how use opencv with the conan package manager.
conanfile.txt
[requires]
opencv/4.11.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
CMakeLists.txt
...
0
votes
2
answers
71
views
Java/gradle project that builds locally doesn't build in AWS/CodeBuild/Docker
Sorry I can't post everything, there is a lot of code - hopefully this is ok
System:
Oracle Linux 9
Java Corretto 17
Gradle 7.6
The layout of my project is
main
subproject_1
subproject_2
subproject_3
...
0
votes
0
answers
20
views
DataHub v0.12.1.0 docker-compose – datahub-gms container goes unhealthy (http: no Host in request URL) while waiting for dependencies
What I’m trying to do
Spin up the new “embedded” quick-start for DataHub v0.12.1 with Docker Compose (since the all-in-one image was removed). I’m starting only the frontend for now:
docker compose up ...
0
votes
1
answer
41
views
Why does my airflow dag run twice when I dockerize it?
I have dockerized by airflow dag that basically copies one csv file to gcp, then loads it to BigQuery and do simple transformation. When I run docker-compose run, my dag is executed twice. I am not ...
1
vote
1
answer
25
views
build a logstash image with a plugin generates an error
I'm trying to create my own image of logstash, in order to add a plugin:
FROM docker.elastic.co/logstash/logstash:8.1.0
RUN bin/logstash-plugin install logstash-filter-translate
The generation works ...
0
votes
1
answer
75
views
Docker does not download the specified image [closed]
Docker-Compose is not downloading the specific version of PHP that I want. I want the version "php:8.4.5-fpm" and it only downloads the "latest" version. I tried several things, ...
1
vote
0
answers
80
views
Git LFS tracked file still served as pointer inside Docker + nginx setup
We're hosting a Unity WebGL project using Docker, nginx, and GitHub. It has several builds underneath projects folder, and everything was working fine until I decided to switch to git LFS. After ...
0
votes
0
answers
26
views
How to inject values in xml file dynamically in docker?
I am trying to create a docker image in which the database connection string in properties file which is an xml file. DB connection string should be generic and should be updated while starting the ...
0
votes
0
answers
41
views
Spring Boot Redis connection refused: localhost:6379 using Docker Compose
I'm new to docker and I'm trying to run redis-server and my springboot app both on a container.
The Redis server is running fine on docker but when i try to connect my spring boot app to the redis ...
0
votes
1
answer
50
views
Playwright driver not found - Docker container
I have created a Dockerfile for Azure Function that build and installs playwright into container. Install all the dependency related to Playwright. I tried with Playwright official image still it was ...
0
votes
2
answers
54
views
Docker with mount volume does not start
My host is Windows 10. I run docker
docker build --target web .
and after it I start docker it works very fast but I do see the /app/Config is empty:
docker run -p 60000:60000 -v //C/Utils/Opserver-...
-3
votes
0
answers
25
views
How to make a non-root user able to copy local files to a remote volume? [closed]
I've deployed an app using Kamal (Docker under the hood) and everything is going fine (my named volumes are working smoothly).
However I'd like someone (not the ssh root user) to be able to copy some ...
-1
votes
1
answer
56
views
GitLab CI pipeline stages running separately
I am working on adding .gitlab-ci.yml to my R project on GitLab for CI/CD. I have created a pipeline with two stages build and test. In my repo there are two branches namely main and develop. My ...
0
votes
0
answers
31
views
MirrorMaker 2: topic gets created on target but records stay (or loop) on source
MirrorMaker 2: topic gets created on target but records stay (or loop) on source
Behaviour
Topology
Source cluster (Docker Compose, Confluent 7.9.0, PLAINTEXT) → firewall / DNAT → Target cluster (...
0
votes
0
answers
24
views
Metabase white screen after docker-compose deployment
I'm having a problem using Metabase locally. I built a Docker image, which I used for my docker-compose setup.
Everything looks like it started great, but when I head over to localhost:3000, I only ...
1
vote
0
answers
23
views
Proper devops flow for applications requiring environment variables at build time
I'm building a simple app in Next.js and building/deploying with docker and github actions. My current pipeline looks like this for dev:
jobs:
build-server-image:
runs-on: ubuntu-latest
...
-1
votes
2
answers
36
views
Docker not copying files to folder after building site
I am trying to build a docker container which clones a repository from my GitHub account, builds the react website and then serves it via nginx.
I already got the cloning and building to work, the ...
1
vote
0
answers
131
views
+100
Why does my complete custom docker image fail when deployed to a general-purpose compute in Databricks?
TL;DR
I need help when deploying my custom docker image onto a Databricks cluster, knowing if I need to match the exact folder structure for /databricks, or something else, to avoid my error: java....