From d7df218fafcd006a3aebd2984513f83c3ff96a4d Mon Sep 17 00:00:00 2001 From: "iliya.saroukha" <iliya.saroukhanian@etu.hesge.ch> Date: Sat, 1 Jun 2024 00:54:37 +0200 Subject: [PATCH] feat: started working on d) of ex1 (lab8) --- content/08_dockerfiles.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/content/08_dockerfiles.md b/content/08_dockerfiles.md index 3389bd3..6b54229 100644 --- a/content/08_dockerfiles.md +++ b/content/08_dockerfiles.md @@ -119,3 +119,20 @@ Par conséquent, lorsque le `Dockerfile` a exécuté la commande `COPY` en étan copiés dans le nouveau répertoire ont été spécifié en tant que `root`. > Once again, not sure.. + +### Inspectez l'historique (non-tronquée) de l'image et décrivez chacune des ses couches + +```bash +docker history dockerfiles_ex01:1.0 --no-trunc +``` + +```bash +IMAGE CREATED CREATED BY SIZE +sha256:969768d594b45fd014a90986623fa0ac9ede6ee8d26f0e4dd9532f93f9c63c2b 50 minutes ago CMD ["ls" "-al" "/dir_tar" "/dir_add"] 0B +<missing> 50 minutes ago COPY file0* /dir_add/ # buildkit 16.8kB +<missing> 50 minutes ago RUN /bin/sh -c mkdir /dir_add # buildkit 0B +<missing> 50 minutes ago ADD files.tar.gz /dir_tar # buildkit 92kB +<missing> 50 minutes ago LABEL maintainer=Yoda 0B +<missing> 9 days ago /bin/sh -c #(nop) CMD ["/bin/sh"] 0B +<missing> 9 days ago /bin/sh -c #(nop) ADD file:e3abcdba177145039cfef1ad882f9f81a612a24c9f044b19f713b95454d2e3f6 in / 7.79MB +``` -- GitLab