mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-29 22:48:15 +02:00
escape
This commit is contained in:
parent
bfe8b4a178
commit
3b7204be26
1 changed files with 4 additions and 4 deletions
|
@ -13,13 +13,13 @@ services:
|
|||
Copied from https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/hack/dind#L28-L37\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#
|
||||
Permission granted by Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (https://github.com/k3d-io/k3d/issues/493#issuecomment-827405962)\t#\n#
|
||||
Moby License Apache 2.0: https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/LICENSE\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#########################################################################################################################################\nif
|
||||
[ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$(date -Iseconds)]
|
||||
[ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$$(date -Iseconds)]
|
||||
[CgroupV2 Fix] Evacuating Root Cgroup ...\"\n # move the processes from the
|
||||
root group to the /init group,\n # otherwise writing subtree_control fails
|
||||
with EBUSY.\n mkdir -p /sys/fs/cgroup/init\n busybox xargs -rn1 < /sys/fs/cgroup/cgroup.procs
|
||||
> /sys/fs/cgroup/init/cgroup.procs || :\n # enable controllers\n sed -e 's/
|
||||
/ +/g' -e 's/^/+/' <\"/sys/fs/cgroup/cgroup.controllers\" >\"/sys/fs/cgroup/cgroup.subtree_control\"\n
|
||||
\ echo \"[$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n"
|
||||
\ echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n"
|
||||
- k3s
|
||||
- agent
|
||||
environment:
|
||||
|
@ -1034,13 +1034,13 @@ services:
|
|||
Copied from https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/hack/dind#L28-L37\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#
|
||||
Permission granted by Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (https://github.com/k3d-io/k3d/issues/493#issuecomment-827405962)\t#\n#
|
||||
Moby License Apache 2.0: https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/LICENSE\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#########################################################################################################################################\nif
|
||||
[ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$(date -Iseconds)]
|
||||
[ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$$(date -Iseconds)]
|
||||
[CgroupV2 Fix] Evacuating Root Cgroup ...\"\n # move the processes from the
|
||||
root group to the /init group,\n # otherwise writing subtree_control fails
|
||||
with EBUSY.\n mkdir -p /sys/fs/cgroup/init\n busybox xargs -rn1 < /sys/fs/cgroup/cgroup.procs
|
||||
> /sys/fs/cgroup/init/cgroup.procs || :\n # enable controllers\n sed -e 's/
|
||||
/ +/g' -e 's/^/+/' <\"/sys/fs/cgroup/cgroup.controllers\" >\"/sys/fs/cgroup/cgroup.subtree_control\"\n
|
||||
\ echo \"[$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n"
|
||||
\ echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n"
|
||||
- k3s
|
||||
- server
|
||||
- --disable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue