Limit ttyd

This commit is contained in:
Mo 2023-08-13 14:40:26 +02:00
parent 511e844e3c
commit 8232a5c4e9

View file

@ -17,7 +17,11 @@ end
podman-default-create \
$container_name \
--network traefik \
--net traefik \
-v $container_home_dir:/home/student:Z \
-v ~/bin/linux_course:/usr/local/bin:z,ro \
-v ~/bin/ttyd:/usr/local/bin:z,ro \
--cpu-shares 256 \
--cpus 8 \
--memory 8g \
--memory-reservation 1g \
localhost/ttyd:latest