Updated Docker (markdown)

master
Donald Webster 7 years ago
parent 0cc576b55b
commit 933b18ed87

@ -43,7 +43,7 @@ WantedBy=multi-user.target
## Firewall
An important network and firewall aspect to make note of is the difference between Docker's bridged and host network mode. The default is bridged, which then uses the `-p` option to open up a port to *everything*. If the host option is used instead, it'll obey any of your firewall rules. This distinction is most notable *outside* of a typical LAN environment, like with a VPS, dedicated server or AWS instance.
To change between options, just remove `-p 7878:7878 \` and replace with `--network host \`.
To change between options, just replace `-p 7878:7878 \` with `--network host \`.
## Set permissions
```bash

Loading…
Cancel
Save