Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

I want to know the steps to create the docker image again from the layers mentioned in the docker hub details. For example : https://hub.docker.com/layers/apache/spark-py/v3.4.0/images/sha256-...
aakash bharti's user avatar
0 votes
0 answers
48 views

On the docker image build samolamplee provided by Microsoft , their is a copy of all build directory in the final image. In case of a large service external dependencies size start to grew and are not ...
colin aygalinc's user avatar
2 votes
0 answers
708 views

For a while now we're encountering error messages in Jenkins build logs Failed to rm container <ID> with no obvious root cause. Containers which are failing to be removed are started from groovy ...
frans's user avatar
  • 9,988
3 votes
0 answers
495 views

I'm installing AMD/Xilinx Vivado in an Docker image. Even an almost minimal installation is 60 GB in size resulting in a 29GB compressed image. A full installation is something around 150 GB... The ...
Paebbels's user avatar
  • 16.5k
9 votes
0 answers
5k views

I set a GitHub actions to build and run tests on my Docker image. While building the Docker image, a rather heavy file (6Gb model from Huggingface) is being downloaded. (As a side note - I can ...
Yuval's user avatar
  • 3,598
1 vote
1 answer
67 views

I have a scenario when I have 2 systems with limited communication - one of them is a stand alone well protected system that not have an internet connection,the only way to make a file transportation ...
Moshe9362's user avatar
  • 364
0 votes
0 answers
36 views

I'm trying to rebuild a docker image, I modified the source code in index.js. The dockerfile: FROM node:20 WORKDIR /usr/src/app COPY . . RUN npm install EXPOSE 3000 CMD ["node", "...
Aravind S's user avatar
0 votes
2 answers
1k views

Since docker layers are just filesystems is it possible to reuse a specific layer directly outside of cache build. I mean imagesA has some layers that are layers that can be used by imageX. Is such a ...
Jim's user avatar
  • 4,529
1 vote
2 answers
337 views

I am trying to understand the docker images a bit better. Most of the instructions in a dockerfile creates a layer. So when we have the command: COPY hom* /mydir/ this creates a layer and according ...
Jim's user avatar
  • 4,529
-1 votes
4 answers
1k views

I am reading the official Docker docs, and it is unclear to me how many layers will be created for the below dockerfile. # syntax=docker/dockerfile:1 FROM ubuntu:18.04 LABEL org.opencontainers.image....
hagrawal7777's user avatar
  • 14.8k
1 vote
1 answer
3k views

I have a n docker files each corresponding to one image with layers from 1..m common to all of them. The steps specifically includes pulling the base image from a public registry, installing the bare ...
Paul Schimmer's user avatar
0 votes
0 answers
167 views

When storing docker images in a file system, I want to know if I can intentionally fragment the file into an Overlay2 structure and save it separately in each layer, so I'm trying to run various ...
swlee's user avatar
  • 3
0 votes
0 answers
879 views

I have a docker SQL Server image that I configure and then share with team. Each time I update the data the image size increases significantly. I start with the mcr.microsoft.com/mssql/server:2019-...
Don Chambers's user avatar
  • 4,375
-2 votes
2 answers
457 views

I found out that docker image is read-only. Is there a way to save the image writable? The reason why I post this question is because I want to modify the original image. Delete or Update from the ...
Jinwoo Nam's user avatar
2 votes
1 answer
573 views

I know that the docker image is read-only. Therefore, deleting the file inside base-image within container does not change the size of docker. (result of docker ps -s) I wanted to reduce image size, ...
Jinwoo Nam's user avatar
5 votes
0 answers
2k views

I need to exclude file in Docker COPY for the first stage but use it in another COPY for the second stage, because it breaks docker layer caching. My folder structure looks like: src/ public/ .env ...
Nick Roz's user avatar
  • 4,320
0 votes
1 answer
605 views

I made some local changes to a Docker container and commited them, and am now trying to replicate them when future instances are built. However, checking which specific changes were made is proving ...
jkmartin's user avatar
  • 433
2 votes
0 answers
1k views

i've been trying to install btcpay-server via my umbrel node. I ssh-ed into the server and pulled the docker image for btcpay-server. On doing so, docker was unable to install the postgres layer and ...
ParmuTownley's user avatar
  • 1,007
2 votes
2 answers
2k views

I'm creating a docker image from another image using the most simple docker file: FROM <source image> The image builds and tags successfully. However when I push it to an Azure Container ...
Giles Roberts's user avatar
0 votes
1 answer
275 views

I need to get more information on a single layer -- possibly by the layer id -- such as Created & Last Modified date. Is there anything similar to docker image inspect for a single layer within a ...
andreagalle's user avatar
2 votes
2 answers
1k views

I checked many documentation sites and even a book. None of the resources clear this up for me. The KB from Docker says yes, is it wrong? https://docs.docker.com/develop/develop-images/dockerfile_best-...
Celtic Bean's user avatar
1 vote
0 answers
6k views

i pull docker image and create container using docker-compose, after running the command docker-compose up i got message ERROR: failed to register layer: ApplyLayer exit status 1 stdout: stderr: ...
harmain's user avatar
  • 188
0 votes
0 answers
97 views

Can somebody help me? Sorry for the long question but I'm trying to describe my issue in as much detail as possible. I'm trying to have a software that installed in my docker image. In the below ...
Huy Nguyen's user avatar
1 vote
0 answers
337 views

I've got a 4 stage Dockerfile, show below, however I can't quite work out the best way to optimise the build when I don't want to use the cache (to ensure that the latest images, and packages are used)...
TobyG's user avatar
  • 1,874
1 vote
1 answer
1k views

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"...
Vaccano's user avatar
  • 83.3k
0 votes
0 answers
307 views

All. I have one question about Docker Layer images. I think that RUN, ADD, COPY, CMD commands generate a new layer. However, I wonder why CMD command generates a new layer. For example, I understand ...
Noriyuki TAKEI's user avatar
2 votes
2 answers
177 views

I modified the contents in my Docker-Image and ran it's Kubernetes Pod. However, the Kubernetes Pod had the contents of the old version of the Docker Image and not the Modified One. How is it possible?...
matak8s's user avatar
  • 557
0 votes
0 answers
231 views

I have created custom docker image using Ubuntu 16.04 xenial as base image, and installed JDK-1.8 and MY-SQL layer on it. Following is sample snap-shot of my Dockerfile to create image. # Use 0.9.19 ...
Abhishek Sharma's user avatar
3 votes
1 answer
2k views

I want to reuse the layers from a docker image on two different machines in the following way: Build image (1) Push image to registry (1) Pull image from registry (2) Build same docker image and reuse ...
Rogier de Ruijter's user avatar
5 votes
2 answers
3k views

Assuming I have 2 options to add docker layers. Option1: RUN python -m nltk.downloader punkt averaged_perceptron_tagger brown Option2: RUN python -m nltk.downloader punkt RUN python -m nltk....
variable's user avatar
  • 9,896
1 vote
2 answers
1k views

Say we have this: RUN go get 'github.com/foo/one' RUN go get 'github.com/foo/two' RUN go get 'github.com/foo/three' and we change the order: RUN go get 'github.com/foo/two' RUN go get 'github.com/...
user avatar
1 vote
1 answer
207 views

I need to know about offline usage of a registry for docker images. When a docker image is pulled from the official microsoft site, adjusted, and then pushed to a registry, is it the complete image ...
kvirk's user avatar
  • 141
1 vote
0 answers
77 views

I'm deploying my application using Docker. But I have some clients that doesn't allow me connect to any docker repository, for security reason. To do the deploy, I'm saving all my images in a file: ...
Victor's user avatar
  • 8,489
0 votes
0 answers
344 views

While reading about containers and their layers (https://docs.docker.com/storage/storagedriver), it come to my mind the following question: Is it possible to "reset" the read/write layer of a Docker ...
Diogo's user avatar
  • 539
2 votes
1 answer
2k views

I'm working out a way to do Docker layer caching in CircleCI, and I've got a working solution. However, I am trying to improve it. The problem in any form of CI is that the image history is wiped for ...
halfer's user avatar
  • 20.2k
16 votes
5 answers
5k views

I have been playing around with creating docker files and reading the documentation and I was wondering this question: Does adding an EXPOSE command to my Dockerfile add a layer? (and if it does why ...
Joel Harkes's user avatar
  • 11.7k
3 votes
1 answer
302 views

I understand the basic concepts of layers, Copy-on-Write (COW), and UnionFS, etc. I keep hearing that every line in a Dockerfile creates a new layer So I did some experiments. Here is my Dockerfile: ...
lang2's user avatar
  • 12.1k