mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Update docker
parent
70ee281302
commit
5a79319343
1 changed files with 4 additions and 1 deletions
|
@ -12,8 +12,11 @@ $ docker run --rm -it --security-opt apparmor=unconfined hello-world
|
|||
```
|
||||
|
||||
# Updating the unit file
|
||||
|
||||
`
|
||||
ExecStartPre=/sbin/apparmor_parser -r -W /etc/apparmor.d/no_raw_net
|
||||
ExecStart=/usr/bin/docker run --security-opt apparmor=<profile>
|
||||
`
|
||||
|
||||
eg.
|
||||
|
||||
|
@ -21,4 +24,4 @@ eg.
|
|||
# References
|
||||
|
||||
* https://docs.docker.com/engine/security/apparmor/
|
||||
*
|
||||
* https://cloud.google.com/container-optimized-os/docs/how-to/secure-apparmor
|
||||
|
|
Loading…
Add table
Reference in a new issue