@@ -57,7 +57,7 @@ slideOptions:
5757## Container Solutions
5858
5959- Plenty of different container formats
60- - [ lxc/lxd] ( https://linuxcontainers.org/ ) , [ Docker] ( https://www.docker.com/ ) , [ podman] ( https://podman.io/ ) , [ Apptainer] ( https://apptainer.org/ ) , [ Sarus ] ( https://user.cscs.ch/tools/containers/sarus/ ) ...
60+ - [ lxc/lxd] ( https://linuxcontainers.org/ ) , [ Docker] ( https://www.docker.com/ ) , [ podman] ( https://podman.io/ ) , [ Apptainer] ( https://apptainer.org/ ) , ...
6161- Different solutions with different strengths due to different use cases
6262 - Working on the (Super-)Userspace
6363 - Direct access to hardware vs. encapsulation
@@ -126,7 +126,7 @@ slideOptions:
126126 - Option 2: Be member of group ` docker ` (=makes you root), expected by some applications (e.g. ` act ` )
127127- Alternatives:
128128 - [ Rootless mode] ( https://docs.docker.com/engine/security/rootless/ )
129- - Run Docker in a VM for better isolation
129+ - Run Docker in a VM for better isolation ( [ Docker Sandboxes ] ( https://www.docker.com/products/docker-sandboxes/ ) )
130130- Check [ security notes] ( https://docs.docker.com/engine/security/ )
131131
132132---
@@ -211,12 +211,12 @@ Details available in [`docker_demo.md`](https://github.com/Simulation-Software-E
211211## Dockerfile Example
212212
213213``` Dockerfile
214- FROM ubuntu:24 .04
214+ FROM ubuntu:26 .04
215215
216- RUN apt update -y && apt install -y neofetch
216+ RUN apt update -y && apt install -y fastfetch
217217WORKDIR /app
218218COPY testfile .
219- CMD ["neofetch " ]
219+ CMD ["fastfetch " ]
220220```
221221
222222---
@@ -238,6 +238,15 @@ Details available in [`docker_demo.md`](https://github.com/Simulation-Software-E
238238
239239---
240240
241+ ## Making Images Smaller
242+
243+ - Base image: ` alpine ` instead of ` ubuntu `
244+ - Remove APT cache: ` rm -rf /var/lib/apt/lists/* `
245+ - Remove intermediate build files (` *.o ` )
246+ - Nice disk usage utility: [ ncdu] ( https://en.wikipedia.org/wiki/Ncdu )
247+
248+ ---
249+
241250## Advanced Topics
242251
243252- User ID mapping
0 commit comments