
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.
11 lines
204 B
Django/Jinja
11 lines
204 B
Django/Jinja
[Exec]
|
|
Capability=CAP_NET_ADMIN
|
|
ResolvConf=copy-host
|
|
|
|
[Network]
|
|
Port=10{{ "%03d" | format(item|int) }}:22
|
|
Port=10{{ "%03d" | format(item|int + 100) }}:80
|
|
|
|
[Files]
|
|
Volatile=overlay
|
|
PrivateUsersChown=false
|