1,071 questions
Advice
0
votes
2
replies
60
views
is shc command available for alpine:edge docker image?
I need an alpine docker image to have shc installed.
So I spinned up a docker container with alpine:edge image, and issued the following commands:
/ # apk update
fetch https://dl-cdn.alpinelinux.org/...
0
votes
0
answers
22
views
Unable to reset the querybook UI Page back to the original localhhost page
At the homepage there used to be 2 options, 1 demo set up and 2 detail setup .
After I established connection with my local postgres , now I cant access the original local host page.
Only the demo ...
-4
votes
1
answer
129
views
Docker image with both docker and git installed [closed]
I am trying to find a docker image that includes both docker and git. I know docker images that includes docker (which does not include apt-get to install git on) and some other images that includes ...
0
votes
1
answer
421
views
Xray JFrog Container Scan SBOM Path to Component Information Missing
So generic question,
when using container scanner tools like trivy and syft to produce SBOMs of a docker image, it will typically provide information on how a component was detected and points to ...
0
votes
0
answers
180
views
Dynamic routes in Vite config
I'm working with Microfrontends (MFEs) using React + Vite + vite-federation-plugin.
I have:
A container (host) application
Multiple MFEs, each bundled as a
standalone Vite app and deployed as a ...
1
vote
1
answer
54
views
Pushing to docker repo: requested access to the resource is denied
Built docker image :
(base) raphy@raohy:~/.talos/stunner/apps/nexus$ export MYREPO=raphaelcollab/stunner
(base) raphy@raohy:~/.talos/stunner/apps/nexus$ sudo docker build -t $MYREPO/nexus .
[+] ...
0
votes
1
answer
45
views
Leftovers after generating a docker image
I am building a docker image that contains LLMs so in the end I got a kind of big image
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
...
0
votes
1
answer
86
views
Spring Boot 3.4.3 and Elasticsearch can't run on CI
I have a very simple app that I recently developed for learning purposes using Spring Boot 3.4.3 and Elasticsearch 8.7.0. The app works fine when I run the compose locally on my machine with the same ...
0
votes
1
answer
140
views
How to Install Only the Essential Parts of Ultralytics for YOLO Detection in a Serverless Lambda Function?
I'm developing a serverless function using AWS Lambda and Docker. The function uses a YOLO model (best.onnx) for object detection, and I'm trying to minimize the deployment package size.
The ...
2
votes
0
answers
61
views
Kubernetes Java Client Unable to Find Config When Running as Docker Container
I have a Java service that uses the Fabric8 Kubernetes Java Client to connect to a Kubernetes cluster. When I run the service locally using java -jar, it works perfectly. However, when I build a ...
0
votes
1
answer
218
views
After building docker image and running the container I am missing a folder
Thanks to @ziyang-liu-msft I managed to deploy the image to the Azure registry in the previous post.
What I see now is that after I pull the image and try to start the container, there is a folder ...
0
votes
1
answer
111
views
AzureDevops build and deploy docker image with nuget package giving the error: error NU1301: Unable to load the service index for source
I am trying to build and push a docker image. This is giving me an error error NU1301: Unable to load the service index for source
The folder structure is as follows: src/appfolder/
In the appfolder I ...
0
votes
0
answers
54
views
C Application build failing - /usr/bin/ld: /opt/librdkafka/lib/librdkafka.a(rdkafka_ssl.o): undefined reference to symbol 'EVP_PKEY_new@@OPENSSL_1_1_0
I have C application. We use several packages, like- mq, oracle, etc. to build our application.
When I build my application on linux sever, it's building fine. I have 2 changes-
Change 1: We build ...
-1
votes
1
answer
318
views
importing image fails with "/var/lib/docker/tmp/... no such file or directory"
I try to import a multiplatform docker image, build&exported with docker buildx build --platform linux/amd64,linux/arm64 -t openhaus/backend:latest --output type=oci,dest=backend-multi.tar .
The ...
0
votes
1
answer
74
views
AWS ECR Docker Images
Does AWS ECR allow big docker images push?
My docker image is 8 GBs(after optimizations), but when I try to push it to AWS ECR, I get error:
docker push <my_aws_account_id>.dkr.ecr.us-west-2....
1
vote
1
answer
1k
views
Pushing image to Artifact Registry returning 403 Forbidden Error
I have limited experience working with Google Cloud so please bear with me. After attempting to push an image to Artifact Registry using docker push <repo-tag> command but I am getting the ...
0
votes
0
answers
128
views
Docker push to private registry fails even after a successful docker login : access forbidden
I have the following alpine image :
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
alpine ...
0
votes
0
answers
101
views
How to run cronjob inside a distroless container?
I am trying to add a cronjob inside a distroless container that is running the application. It is either giving error or not running correctly. How can get this working as I want to create a cronjob ...
0
votes
1
answer
75
views
services.dockeroperator Additional property attach is not allowed Docker Compose
I have below docker-compose.yaml
name: mydemo
volumes:
operator-volume:
driver: local
services:
dockeroperator:
build:
dockerfile: .docker/...
0
votes
0
answers
77
views
do POST request from Bitbucket Pipeline
I'm trying to send a POST request in the Bitbucket pipeline, but only if the docker build fails.
image: node:20
definitions:
services:
docker:
memory: 3072
pipelines:
branches:
dev:...
1
vote
0
answers
609
views
Hot to get runners (for GitHub Actions) with the lowest glibc version as possible
I am wrapping my library into an executable using PyInstaller, automating it with GitHub Actions and using their runners to create the binaries.
For Linux, PyInstaller needs the app to be forward ...
0
votes
0
answers
60
views
Optimization Docker Image
I have a dockerfile for a Cloud Run app, it has certain idiosincracies that add size to the image,like the fact that i have to "RUN pip uninstall -y opencv-python && pip install --no-...
0
votes
0
answers
39
views
how & where Docker Image & its metadata are stored on Windows 10? [duplicate]
I want to see how Docker Image & its metadata are stored in Windows 10 (with Docker Desktop).
So, when I execute docker info in WSL 2 in Windows 10, it shows root directory as /var/lib/docker but ...
1
vote
1
answer
214
views
No module named Error when running docker image
I am working on a python project and I need to create a docker image for testing. In my project I have a main.py file that has the statement
from <module> import *. here represents a folder in ...
0
votes
1
answer
663
views
ContainerApp not pulling images from new Azure Container Registry
I have a Container App in Azure Cloud and I have created a new Azure Container Registry(ACR). With my pipeline I am generating image in my acr and then updating the container app to use the new ACR ...
0
votes
0
answers
36
views
Docker & Django : How to dockerize my django project and run it in a specific server ip?
I want to dockerize my django project and run it on a specific server says 192.168.156.94:8000. How do I do that? Thank you
Dockerfile
# Use Python 3.12.2 image based on Debian Bullseye in its slim ...
1
vote
0
answers
363
views
Docker image is not running getting error
Dockerfile:
FROM node:22-alpine3.19
WORKDIR /app
COPY . .
RUN npm i
COPY .env.sample .env.local
EXPOSE 5173
CMD ["npm","run","dev","--","--host"]...
0
votes
1
answer
146
views
Scalable method to find the cause of a data leak in docker images folder (/var/lib/docker/overlay2 >> docker system df)?
After some change made to docker build scripts used in Jenkins pipelines and/or a Docker upgrade I've started experiencing serious image data leaks. They manifest themselves in an unstable, constantly ...
0
votes
0
answers
518
views
What base image do I use for my .NET 8 app in Linux container
I have an ASP.NET Core 8 Web API that I need to run in a linux container, and I am not using Docker desktop. My problem is that I don't know what the right based to use in my Dockerfile. The first ...
0
votes
1
answer
248
views
Docker client unable to connect to the Docker daemon while docker service is running
I am running a Dockerfile that (is supposed to) run a docker-compose.yml file for a different package, but currently returns an error.
The command
docker-compose -f /home/kasm-default-profile/Project-...
0
votes
1
answer
40
views
Why can't I just quit after running a docker container in terminal/bash?
PS C:\Users\abhis\OneDrive\Desktop\projects\pay\backend> docker run -p 3000:3000 server
[email protected] start
nodemon index.js
[nodemon] 3.1.3
[nodemon] to restart at any time, enter rs
[nodemon] ...
1
vote
0
answers
28
views
Docker Compose Wordpress Image directory got merge instead of overwritten
My project directory looks like the following
wp-content
- mu-plugins
- plugins
- theme
- newtheme
docker-compose.yml
and my docker-compose.yml
# wordpress
wordpress:
depends_on:
...
0
votes
3
answers
3k
views
Puppeteer: Failed to launch browser! chrome_crashpad_handler: --database is required
I was running a job in an Alpine image on Kubernetes, which is a c# program which uses the Puppeteer library, and I'm encountering the following error when trying to launch the browser:
Failed to ...
0
votes
0
answers
211
views
Installing Legacy Ruby in New Ubuntu Using a Dockerfile (Installing Ruby 2.5.3 on Ubuntu noble 24.0.4 )
I have a separate ruby project which i need to interact as an end point
The problem is that installing with rbenv and rvm is failling. for rbenv its because its not supported, for rvm its the same ...
-1
votes
1
answer
88
views
ruby-on-rails docker image 632mb
I have done multistage dockerization of my rails app but the image size is over 600mb which is too high.
Dockerfile
# Dockerfile for local development.
# Default Ruby version for this project.
ARG ...
0
votes
1
answer
504
views
Unable to pip install google.cloud.sql.connector when building docker image
I am using Python developing a web app in my local machine. I am using the code from Connect using Cloud SQL Language Connectors to connect to my GCP Postgres database and working fine! However, when ...
4
votes
4
answers
2k
views
GoogleJib is stuck at 80 percent while creating docker image
While trying to create a docker image for spring boot app using the
mvn compile jib:dockerBuild getting below error
enter image description here
I am using GoogleJib to create a docker image for my ...
0
votes
1
answer
142
views
Execute command before killing/stopping a docker container on windows
I want to copy the files generated inside a docker container, to the local storage before stopping/killing the container.
I am creating an docker image.
I am using docker run --name <...
0
votes
1
answer
643
views
Azure Container Instance doesn't show live logs in Python application
I have a Python script that uses an Azure Service Bus underneath. It is a simulation, so it communicates through the Service Bus using the Pub Sub and Topics and prints information about some events.
...
1
vote
0
answers
470
views
i want to create one docker file for next.js monorepo
this is my project structure in monorepo and i have dist folder after build project-3.
i created docker file for project-3 , but it is too large so what is solution for decrease size of docker file in ...
0
votes
0
answers
177
views
Failed to pull image from private GHCR repo
I have a private GitHub repo where i use a GitHub action workflow to automatically push a docker image to my GHCR repo.
This is the GitHub action workflow:
name: Create and publish a Docker image
# ...
4
votes
2
answers
24k
views
How to "docker compose down" for certain service?
I have a a script which builds docker image, loads it to docker, updates docker-compose.yml then it calls docker compose down and docker compose up. After the Docker compose up services are recreated ...
0
votes
1
answer
98
views
Error running wso2 docker image on Macbook Pro M3
I am using wso2-integration-studio 8.2.0 (MacOS Apple Silicon) which comes with builtin WSO2 MI 4.2.0. I am trying to build a docker image with a sample project, however getting issue when executing ...
2
votes
2
answers
752
views
SpringBoot bootBuildImage with docker-compose build?
Spring Boot recommends using it's Maven/Gradle plugins to build a Docker image (actually, an OCI image which is similar). From https://spring.io/guides/topicals/spring-boot-docker, with Gradle, you ...
0
votes
1
answer
107
views
Docker Image: why page not accessible?
I am trying to create a Docker image for a little API I built with Fastify and Node. I came up with the following Dockerfile:
FROM node:current-alpine3.19
WORKDIR /usr/src/app
RUN chown -R node:node ...
1
vote
1
answer
852
views
Unable to set an environment variable with a docker container, Error: poorly formatted environment variable, Contains whitespaces
Im trying to run a docker container and load environment variables from my .env file which is in the same root directory as the rest of the project. For context, my .env file looks something like this:...
-1
votes
1
answer
1k
views
installing psycopg in alpine docker image
I have the following dockerfile:
FROM python:3.12.0-alpine3.18
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apk update && \
apk add --virtual build-deps ...
2
votes
2
answers
2k
views
How do I verify container image signatures using sigstore Cosign V2?
I am trying to verify container images using Cosign.
Let's use the image csi-node-driver-registrar as an example. (the image doesn't matter as long as it is signed by the author)
I tried the following ...
1
vote
1
answer
85
views
kyverno cli: bundleVerified, but policy failed?
I am trying to setup a policy to block image without attestation.
Here is my code: https://github.com/whoissqr/cg-test-keyless-sign
my ClusterPolicy is as following
apiVersion: kyverno.io/v1
kind: ...
3
votes
1
answer
446
views
Can't connect to Docker container of Spring Boot application using `docker exec`
Reproducer
After start the project, I can't connect to the container using docker exec -it sb-repro [bash | sh]. The error:
OCI runtime exec failed: exec failed: unable to start container process: ...