Limit ttyd
This commit is contained in:
parent
511e844e3c
commit
8232a5c4e9
1 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,11 @@ end
|
||||||
|
|
||||||
podman-default-create \
|
podman-default-create \
|
||||||
$container_name \
|
$container_name \
|
||||||
--network traefik \
|
--net traefik \
|
||||||
-v $container_home_dir:/home/student:Z \
|
-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
|
localhost/ttyd:latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue