Commit graph

14 commits

Author SHA1 Message Date
Andreas B. Mundt
0ed4230794 Split container package list. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
327f2eefac Username variable. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
0c48d933e7 Add more packages to the container. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
245c08c125 Improve container management tasks. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
ae0c26b117 Fix too many open files error with more containers. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
90d340a1d5 Make sure stuff exists when needed. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
85836e311e Move container restart task to handlers. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
baba55e05a Optional non-empty passwords for the container user. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
1b5f7ea0b5 Minor fixes and improvements. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
e058def667 Run in reverse order to remove the initial container last. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
cb5ade4c84 Provide 'sources.list' from the host and upgrade initial container. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
7bbfd817f8 Switch to persistent overlays.
With tmpfs the containers' disk space is too limited.  Better keep
changes on the disk.
2023-02-07 19:15:50 +01:00
Andreas B. Mundt
fed5f71357 Instead of cloning the image, link to the rootfs. Provide more individual files. 2023-02-07 19:15:50 +01:00
Andreas B. Mundt
b920bdf52b Provide playbook and role to deploy containers.
The containers are deployed for educational purposes with
user 'ansible' in the sudo group and an empty password.
SSH login is available via ports 10000 upwards on the host.
Port 80 is forwarded as well (ssh port + 100).
The container's rootfs is read only with an overlay:  After
restart of the container, modifications are lost.
2023-02-07 19:15:50 +01:00