-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse security_opts before sending them to docker daemon
Fixes #6720 Copy the parsing function from the docker CLI. Docker daemon expects to see JSON for seccomp file not a path.
- Loading branch information
Ben Buzbee
committed
Mar 31, 2020
1 parent
ce4c9af
commit 6a37b45
Showing
3 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"defaultAction": "SCMP_ACT_ALLOW", | ||
"architectures": [ | ||
"SCMP_ARCH_X86_64", | ||
"SCMP_ARCH_X86", | ||
"SCMP_ARCH_X32" | ||
], | ||
"syscalls": [ | ||
{ | ||
"name": "reboot", | ||
"action": "SCMP_ACT_ERRNO", | ||
"args": [] | ||
} | ||
] | ||
} |