This commit is contained in:
lrgex
2023-11-14 08:33:10 +03:00
parent b1d278e75e
commit 5e87e63783
3 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ on:
- '**/testfile'
- '**/reference.txt'
- '**/testfile2'
- '**/test-entrypoint.sh'
jobs:
docker:

View File

@@ -6,4 +6,8 @@ https://github.com/dw-0/kiauh
https://serverfault.com/questions/1053187/systemd-fails-to-run-in-a-docker-container-when-using-cgroupv2-cgroupns-priva/1054414#1054414
sudo docker run -d --name klipper --device /dev/ttyUSB0:/dev/ttyUSB0 -p 5001:80 --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker
sudo docker run -d --name klipper --device /dev/ttyUSB0:/dev/ttyUSB0 -v /home/lrgex/klipper:/home/lrgex -p 5001:80 -p 7125:7125 --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker
sudo docker run -d --name klipper -p 5001:80 -p 7125:7125 --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker

0
test-entrypoint.sh Normal file
View File