Questions tagged [container-image]

Container images are packages used to create Docker containers.

Container images are the basis of Docker or OCI containers. They usually reside in container image registries. When a container is built, the requested base image is downloaded from the corresponding registry if not available already locally.

More information on building container images can be found on the Docker documentation page.

53 questions
1
vote
0 answers

Docker container doesn't exit after completing program

I'm trying to run Java container as one time job in Kubernetes. The base image which I'm using is gcr.io/distroless/java. The problem is sometimes the container keeps running forever after the program completes. Here is Kubernetes Job…
1
vote
0 answers

Containerizing my app developed w/ Anaconda, using Docker

My first question here, so I am sorry if I did not follow a community guideline or if this is the wrong place to post. I am a rookie developer (still a student), and I created some geospatial analytics applications using the Anaconda distribution of…
Sujay
  • 11
  • 4
1
vote
1 answer

Kubernetes: Image garbage collection failed: unable to find data for container /

I have problem with containers garbage collection. When I start kubelet I have an error: E1006 08:04:08.856100 25155 kubelet.go:682] Image garbage collection failed: unable to find data for container / And garbage collection doesn't…
cnaize
  • 3,139
  • 5
  • 27
  • 45
0
votes
0 answers

sudo execution fails in do_pull_image() of .bb file

As I am using iMX series board, for that I am using Yocto 4.0 as source. I wanted to port container-image from https://github.com/savoirfairelinux/meta-embedded-containers to my build setup containing 4.0. While building bitbake…
Aysha
  • 1
  • 1
0
votes
0 answers

How can i copy files from inside singularity to the local (my computer)?

I have been trying to use the command 'cp -r example_movies /home/glab' to copy the directory example_movies to /home/glab but i keep getting this error cp: cannot create directory '/home/glab/example_movies': Read-only file system Error cp: cannot…
0
votes
2 answers

How to share jar layers between diffrent microservices?

I'm currently working on a project with some spring-boot based microservices. Currently every microservice has it's own layered jar with the default spring boot layer configuration. This already reduces the number of different layers across minor…
SpaceTrucker
  • 13,377
  • 6
  • 60
  • 99
0
votes
1 answer

Verify container images at push to local registry

I have a local docker image registry running on my Linux machine and want to push signed images with public key available to verify the images. I could use for instance cosign to verify signatures before pushing to the registry. But this check could…
Muzammil
  • 417
  • 1
  • 4
  • 20
0
votes
0 answers

Is it possible to only build the container once when using Maven release?

I am using Maven release plugin in a Azure DevOps pipeline which uses the quarkus-container-image-docker extension. I have noticed that the container is build twice: once for the snapshot build and once for the release build. Is it possible to only…
0
votes
0 answers

GCP image import error: install_apt_packages failing

I was trying to import a debian-11 image (debian-11-genericcloud-amd64.raw) using gcloud compute images import command. However it was failing, and looking at the logs it seems that install_apt_packages is failing. What could be the reason for this?…
0
votes
0 answers

installing managed Docker (network) plugin from an exported Docker image file?

I'm creating a Docker managed (network) plugin basically as follows; the concrete env var values shouldn't…
TheDiveO
  • 2,183
  • 2
  • 19
  • 38
0
votes
1 answer

Debugging AWS Lambda (Python) Locally in VS Code with out using SAM-CLI

I'm trying to debug AWS lambda (python) function created using container image locally on VSCode. I don't want to use SAM CLI as my Directory structure don't contain template.yml. Is there a way to debug the code in VSCode while running the…
0
votes
1 answer

Receiving errors when pushing container image to aws lambda

I am following this tutorial for how to create a container image and push it to AWS lamdba. https://www.youtube.com/watch?v=DsQbBVr-GwU I did everything just as done in the tutorial except I changed to python since that is the language my code uses.…
0
votes
2 answers

Adding annotation/label to OCI container-image without creating the container first

For adding some annotations/labels to a image, we first have to create the container from the image, and then we can add some annotations/labels using buildah-config: buildah-config [options] containerID But this requires first creating a container…
0
votes
1 answer

How to debug Code Engine build errors (Dockerfile strategy)?

I am using IBM Cloud Code Engine. Building the container locally, pushing it to the IBM Container Registry and then creating the Code Engine app from it works. Now, I wanted to build the container image using Code Engine. The code is in a public…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
2 answers

Java can't find file while running in Docker container

I reference an HTML file in my code, and access it with: Path filePath1 = Path.of("./email.html"); When I run the project locally, the project works fine, and the file loads normally. However, when running the project in a Docker container, I get…
Yaxet
  • 23
  • 4