Update docker

John Johansen 2021-02-23 11:55:50 +00:00
parent a65a872e4f
commit 70ee281302

@ -8,5 +8,17 @@
Eg. To disable apparmor confinement on a docker container add the following to the _docker run_ command.
```
--security-opt apparmor=unconfined
$ 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.
# References
* https://docs.docker.com/engine/security/apparmor/
*