mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2026-02-28 10:04:06 +01:00
Improve README links
This commit is contained in:
parent
b68f3b7bb1
commit
a727e001aa
3 changed files with 3 additions and 3 deletions
|
|
@ -491,7 +491,7 @@ This is where general Docker best practices and war stories go:
|
|||
|
||||
This is where security tips about Docker go. The Docker [security](https://docs.docker.com/engine/security/security/) page goes into more detail.
|
||||
|
||||
First things first: Docker runs as root. If you are in the `docker` group, you effectively [have root access](http://reventlov.com/advisories/using-the-docker-command-to-root-the-host). If you expose the docker unix socket to a container, you are giving the container [root access to the host](https://www.lvh.io/posts/dont-expose-the-docker-socket-not-even-to-a-container.html).
|
||||
First things first: Docker runs as root. If you are in the `docker` group, you effectively [have root access](http://reventlov.com/advisories/using-the-docker-command-to-root-the-host). If you expose the docker unix socket to a container, you are giving the container [root access to the host](https://www.lvh.io/posts/dont-expose-the-docker-socket-not-even-to-a-container/).
|
||||
|
||||
Docker should not be your only defense. You should secure and harden it.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue