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

document verbose container args #723

Merged
merged 2 commits into from
Aug 29, 2023
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
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
Loading