Skip to content

Commit

Permalink
Merge pull request #723 from openziti/qrkourier-patch-1
Browse files Browse the repository at this point in the history
document verbose container args
  • Loading branch information
qrkourier committed Aug 29, 2023
2 parents cadbbc6 + a61b806 commit 2f131f8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,20 @@ This example uses [the included Docker Compose project](docker-compose.yml) to i

1. Access the demo server via your OpenZiti Network: [http://hello-docker.ziti](http://hello-docker.ziti)

#### Troubleshooting `openziti/ziti-host`

You may pass additional args by supplying the `run-host` mode and args when the container is run.

```bash
docker run \
--name ziti-host \
--rm \
--network=my-docker-bridge \
--env ZITI_IDENTITY_JSON="$(< /opt/openziti/etc/identities/my-ziti-identity.json)" \
openziti/ziti-host \
run-host --verbose=4
```

#### Docker Compose Examples for `openziti/ziti-host`

Get a single, enrolled identity configuration from an environment variable. You could define the variable with an `.env` file in the same directory as `docker-compose.yml`.
Expand Down Expand Up @@ -220,6 +234,23 @@ docker run \
openziti/ziti-edge-tunnel
```

#### Troubleshooting `openziti/ziti-edge-tunnel`

You may pass additional args by supplying the `run` mode followed by args when the container is run.

```bash
docker run \
--name ziti-edge-tunnel \
--network host \
--privileged \
--volume ${PWD}:/ziti-edge-tunnel/ \
--volume "/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket" \
--device "/dev/net/tun:/dev/net/tun" \
--env ZITI_IDENTITY_BASENAME=ziti_id \
openziti/ziti-edge-tunnel \
run --verbose=4
```

#### Docker Compose Examples for `openziti/ziti-edge-tunnel`

This example uses [the Docker Compose project](docker-compose.yml) included in this repo.
Expand Down

0 comments on commit 2f131f8

Please sign in to comment.