Consider this Dockerfile: FROM ubuntu:22.04 RUN apt-get inst…
Consider this Dockerfile: FROM ubuntu:22.04 RUN apt-get install -y python3 libfoo COPY ./app /app WORKDIR /app CMD [“python3”, “main.py”] You push this image to a registry, and later another user pushes a different image that also starts with FROM ubuntu:22.04. Roughly how much disk/bandwidth is saved by the layered image format?
Read DetailsConsider the following commands sent to a UNIX-based system…
Consider the following commands sent to a UNIX-based system (assume we start with an empty directory): Line 1: echo hello >> file1 Line 2: ln file1 file2 Line 3: cat file2 Line 4: rm file1 Line 5: cat file2 Line 6: echo more >> file1 Line 7: cat file1 Ignore any problems with whitespace or capitalization. Assume “;” shows text separated across multiple lines in the shown output.
Read Details