24 questions from the last 7 days
1
vote
1
answer
78
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 ...
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 --...
-1
votes
1
answer
41
views
Docker build fails because of JavaScript not enabled [closed]
I wrote a Dockerfile and trying to run the build. But every time, I run it, I see the below error:
[+] Building 2.5s (1/1) FINISHED ...
0
votes
1
answer
34
views
SpringBoot OCI optimized image for all environments
I am using SpringBoot 3.5.7 to build docker image with ./mvnw spring-boot:build-image.
I also use a custom Spring Starter, that contains some common code, but also some common configuration settings ...
0
votes
0
answers
50
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 ...
Best practices
2
votes
1
replies
26
views
Docker - how to launch a container with non-variable name?
I launch a container in docker (using powershell) by running the first command however I have a couple other operations I need to do on start-up like connecting the gotenberg to a network.
The ...
0
votes
1
answer
34
views
How to run jupyter notebook using docker? [closed]
I try to run jupiter notebook with docker. I run this in my terminal:
docker run -it -v $(pwd):/home/optimus/localwork --workdir /home/optimus/localwork -p 8888:8888 optimuslib/optimus:latest
I ...
-1
votes
0
answers
33
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
I’m having a problem and I can’t find a solution.
I have deployed a Django backend and a React frontend using Docker.
I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
-4
votes
0
answers
27
views
Dockerize backend ExpressJS made with sequelize [closed]
I'm trying to fully Dockerize my application, which includes:
Next.js (frontend)
Express.js (backend)
PostgreSQL
Sequelize ORM for models and migrations
my backend can't connect to the PostgreSQL ...
0
votes
0
answers
27
views
"Docker containers completely isolated from network - Maven fails to download Flink dependencies causing 'package does not exist' compilation errors" [closed]
Docker Network Connectivity and Maven Dependency Resolution Error - Description
Comprehensive Error Description
The system is experiencing a critical Docker networking failure that has cascaded into a ...
Advice
0
votes
2
replies
32
views
How to replicate locally automated API tests within gitlab CI
Let's say you have a repository in gitlab. For facilitated distribution of the application and according development throughout a team, you convert the app into a Docker Container, which can be ...
0
votes
0
answers
48
views
Jenkins Docker Node error 400 Bad Request
My jenkins container start command:
docker run --name jenkins --restart=on-failure --detach \
--network jenkins --env DOCKER_HOST=tcp://docker:2376 \
--env DOCKER_CERT_PATH=/certs/client --env ...