File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
@ set MOUNTPOINT = " /mnt/data"
3
3
4
4
@ docker build -t sunrisefox/judgecore:v1.0 .
5
- @ docker run --name judgecore --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --security-opt apparmor=unconfined --security-opt seccomp=unconfined -ti -d -v %MOUNTFOLDER% :%MOUNTPOINT% --tmpfs /tmp:exec sunrisefox/judgecore:v1.0
5
+ @ docker run --name judgecore --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --security-opt apparmor=unconfined --security-opt seccomp=unconfined -ti -d -v %MOUNTFOLDER% :%MOUNTPOINT% --tmpfs /tmp:exec --restart unless-stopped sunrisefox/judgecore:v1.0
6
6
7
7
@ REM @docker run --name judgecore --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --security-opt apparmor=unconfined --security-opt seccomp=unconfined -ti -d -v "D:\0bysj\core":/mnt/core -v "D:\0bysj\volume":/mnt/data sunrisefox/judgecore:v1.0
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ MOUNTPOINT="/mnt/data"
9
9
10
10
set -ex; \
11
11
docker build -t sunrisefox/judgecore:v1.0 . ; \
12
- docker run --name judgecore --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --security-opt apparmor=unconfined --security-opt seccomp=unconfined -ti -d -v $MOUNTFOLDER :$MOUNTPOINT --tmpfs /tmp:exec sunrisefox/judgecore:v1.0; \
12
+ docker run --name judgecore --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --security-opt apparmor=unconfined --security-opt seccomp=unconfined -ti -d -v $MOUNTFOLDER :$MOUNTPOINT --tmpfs /tmp:exec --restart unless-stopped sunrisefox/judgecore:v1.0; \
13
13
14
14
# echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
You can’t perform that action at this time.
0 commit comments