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
1 answer

Getting spring boot build error when trying to create jar file using docker container configurations in application.properties

Spring boot build failure when using docker configurations of mysql databases Application.properties `spring.datasource.url=jdbc:mysql://mysqldb:3306/employeedb?useSSL=false spring.datasource.username=sa spring.datasource.password=1234 …
1
vote
0 answers

Kafka UI not able to connect to Broker

I am new to Containerisation. I am trying to set up my local env where my java application want to connect to Kafka. Can't use Docker so decided to use Podman. I have three containers running on same network each for Kafka, Zookeeper and kafka UI. I…
1
vote
1 answer

Invoking Java from container - directly or shell

Is there a recommended practice to invoke Java process between invoking directly vs using shell as entry point? I understand that shell will add extra file to maintain as downside, but provides flexibility in setting up JVM, e.g. JFR, memory conf,…
Sandeep Jindal
  • 14,510
  • 18
  • 83
  • 121
1
vote
1 answer

Container image - What is the purpose of using the phrase "Container image"?

When reading articles on the Internet and textbooks, they use the above terms and make us confused. When we try to understand emerging technologies, I believe the vocabulary behind them is a key point. So, please help to clarify the following…
chandrasiri
  • 83
  • 1
  • 3
  • 11
1
vote
0 answers

After deleting and re-creating a GitHub repository, the default token can no longer publish container images

I have a repository that includes a container image build-and-publish workflow; the critical workflow steps looks like: - name: Log in to the Container registry uses: docker/login-action@v2 with: registry: ${{ env.REGISTRY }} username:…
larsks
  • 277,717
  • 41
  • 399
  • 399
1
vote
0 answers

Asp.Net Web App - 4.6.1 Docker support Error - Value cannot be null Parameter name: path2

I am trying to add Docker support to an ASP.NET MVC (4.6.1) + Anuglar app (Version 11) but getting build error Error: Value cannot be null Parameter name: path2. If I force run the code despite the build error, got this error Unable to start…
Dilip
  • 474
  • 2
  • 8
  • 18
1
vote
1 answer

How to determine the image id from the image tag on dockerhub using docker cli?

Question: Given a tag of an image on dockerhub such as ubuntu:22.04 what cli command determines the SHA-256 that can be used instead of the tag in a FROM instruction in a Dockerfile? I have tried docker images ubuntu:22.04 --format "{{.ID}}"…
ams
  • 60,316
  • 68
  • 200
  • 288
1
vote
0 answers

Check how much of a docker image is accessed?

How can I measure the efficiency of a container image, in terms of what portion of its contents are actually used (accessed) for the processes therein? There are various forms of wastage that could contribute to excessively large images, such as…
benjimin
  • 4,043
  • 29
  • 48
1
vote
1 answer

How can I define an owner to an empty_dir using container_image or container_layer from bazel rules_docker?

From the PR that implemented empty_dirs, it seems there's support for defining dir owners (with the names argument) and mode into the add_empty_dir method of TarFile class. But the container_image rule (and container_layer) supports only mode. This…
Raoni
  • 453
  • 4
  • 9
1
vote
1 answer

Why is a parent container image SHA not listed in the layers of the child?

Consider a container image, lets call it BaseContainerImage. I build this container image based off a container image on docker hub (the .Net Core 3.1 runtime if it matters). By "based off" I mean that the FROM references that docker hub…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
1
vote
2 answers

How to find container image name/ tag from inside the container

Apologies in advance if this is a bad question, but is it possible to look up the name and tag of the image off of which a container is running, from inside that container?
Tri Nguyen
  • 9,950
  • 8
  • 40
  • 72
1
vote
1 answer

Fetch single layer from image repository using docker or other tooling?

Our build creates temporary images which we store to the repository for caching purposes as subsequent images are relying on them. The images are untagged afterwards. The layer ID I can get from the build log. But as they might contain credentials…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
1
vote
1 answer

What is the difference between UBI and Atomic Base Image

My company is RHEL customer, and I need base container images for: Portable CI/CD build environments Running services with minimal dependencies (Go, Java, Python) Looking at these 2 docker files, they are identical. Is there any difference in…
ddimitrov
  • 3,293
  • 3
  • 31
  • 46
1
vote
0 answers

Availability of els.dll / elscore.dll on Windows container images

I recently deployed a container to Azure, and when I run the application (a website) I encounter the exception... Unable to load DLL 'elscore.dll': The specified module could not be found. Sure enough, if I start a powershell session on the…
1
vote
1 answer

Knative: update image of a service in a CI autodeploy pipeline

I recently converted my kubernetes deployment service to a knative serverless application. I am looking for a way how to update the image of a container the the knative app from a CI/CD pipeline without using yml file (CI pipeline doesn't have…
intense
  • 197
  • 1
  • 9