You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure 'shell-session' as an additional language for syntax
highlighting in code blocks. This differs from 'bash' highlighting in
that lines not beginning with a shell symbol (e.g. '$') won't be treated
as part of a shell command.
Some of our existing code blocks use 'bash' along with line highlights
to present interactive shell sessions. Convert these to use
'shell-session', adding '$' to any input lines.
Note that the prism-react-renderer themes do not currently have styles
for the 'shell-session' token types, so we need to define our own styles
for these.
@@ -98,14 +98,14 @@ OpenSSL is installed or easily available for most 'nix-based operating systems l
98
98
99
99
1. In a terminal environment and the same directory where you created the certificate files, start an OpenSSL server process. Note that it will run in the foreground until stopped, so you will need another terminal environment to run additional commands:
1. When you refresh <https://openssl.localhost.pomium.io> in your browser, the connection will fail. Back in the terminal, the OpenSSL server should output errors containing:
Copy file name to clipboardexpand all lines: content/docs/capabilities/tcp.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -67,17 +67,17 @@ While HTTP routes can be consumed with just a normal browser, `pomerium-cli` or
67
67
68
68
To connect, you normally need just the external hostname and port of your TCP route:
69
69
70
-
```bash {1}
71
-
pomerium-cli tcp redis.corp.example.com:6379
70
+
```shell-session
71
+
$ pomerium-cli tcp redis.corp.example.com:6379
72
72
5:57PM INF tcptunnel: listening on 127.0.0.1:52046
73
73
```
74
74
75
75
By default, `pomerium-cli` will start a listener on loopback on a random port.
76
76
77
77
On first connection, you will be sent through a standard Pomerium HTTP authentication flow. After completing this, your TCP connection should be established!
Copy file name to clipboardexpand all lines: content/docs/deploy/core.mdx
+6-6
Original file line number
Diff line number
Diff line change
@@ -83,22 +83,22 @@ Pomerium utilizes a [minimal](https://github.com/GoogleContainerTools/distroless
83
83
84
84
-`:vX.Y.Z`: which will pull the a [specific tagged release](https://github.com/pomerium/pomerium/tags).
85
85
86
-
```bash {1}
87
-
docker run pomerium/pomerium:v0.1.0 --version
86
+
```shell-session
87
+
$ docker run pomerium/pomerium:v0.1.0 --version
88
88
v0.1.0+53bfa4e
89
89
```
90
90
91
91
-`:latest`: which will pull the [most recent tagged release](https://github.com/pomerium/pomerium/releases).
92
92
93
-
```bash {1}
94
-
docker pull pomerium/pomerium:latest && docker run pomerium/pomerium:latest --version
93
+
```shell-session
94
+
$ docker pull pomerium/pomerium:latest && docker run pomerium/pomerium:latest --version
95
95
v0.2.0+87e214b
96
96
```
97
97
98
98
-`:main` : which will pull an image in sync with git's [main](https://github.com/pomerium/pomerium/tree/main) branch.
99
99
100
-
```bash {1}
101
-
docker pull pomerium/pomerium:main
100
+
```shell-session
101
+
$ docker pull pomerium/pomerium:main
102
102
```
103
103
104
104
Rootless images for official releases are also published to provide additional security. In these images, Pomerium runs as the `nonroot` user. Depending on your deployment environment, you may need to grant the container additional [capabilities](https://linux-audit.com/linux-capabilities-hardening-linux-binaries-by-removing-setuid/) or change the listening port from `443`.
0 commit comments