Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improved self-managed Docker documentation example #1753

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion content/docs/deploy/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,17 @@ We also provide container images on [Docker Hub](https://hub.docker.com/r/pomeri
Example usage:

```bash
# config.yaml is your Pomerium configuration.
# See https://www.pomerium.com/docs/deploy/core#configuration
#
# Note: The external port (8443) can be changed without affecting your route configuration
# as long as your routes don't specify explicit ports. See
# https://pomerium.com/docs/reference/routes/from#port-matching-behavior for more information
docker pull pomerium/pomerium:latest
docker run --rm -it -p 443:443 pomerium/pomerium:latest --version
docker run --rm -it \
-p 8443:443 \
-v $(pwd)/config.yaml:/pomerium/config.yaml \
pomerium/pomerium:latest
```

If you plan to run on port 443 in a rootless environment, you may need extra [capabilities](https://linux-audit.com/linux-capabilities-hardening-linux-binaries-by-removing-setuid/) or choose a non-privileged port.
Expand Down
Loading