Merge pull request #18780 from jfrazelle/seccomp-default
set default seccomp profile Upstream-commit: 78ce43bad85fdf97d7c836315e46b531901c8ae7 Component: engine
This commit is contained in:
@@ -62,3 +62,22 @@ Then you can run with:
|
||||
```
|
||||
$ docker run --rm -it --security-opt seccomp:/path/to/seccomp/profile.json hello-world
|
||||
```
|
||||
|
||||
Default Profile
|
||||
---------------
|
||||
|
||||
The default seccomp profile provides a sane default for running
|
||||
containers with seccomp. It is moderately protective while
|
||||
providing wide application compatibility.
|
||||
|
||||
|
||||
Overriding the default profile for a container
|
||||
----------------------------------------------
|
||||
|
||||
You can pass `unconfined` to run a container without the default seccomp
|
||||
profile.
|
||||
|
||||
```
|
||||
$ docker run --rm -it --security-opt seccomp:unconfined debian:jessie \
|
||||
unshare --map-root-user --user sh -c whoami
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user