Skip to content

Commit ed840f7

Browse files
committed
Add reference to Docker Hub image
1 parent 52cf753 commit ed840f7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

getting-started/installation.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,23 @@ sudo rpm -i gatewayd-{% github_latest_release gatewayd-io/gatewayd v %}.x86_64.r
5858

5959
### Docker image
6060

61-
GatewayD is also available as a Docker image. The image is available on [GitHub Container Registry](https://ghcr.io/gatewayd-io/gatewayd:latest).
61+
GatewayD is also available as a Docker image. The image is available on [GitHub Container Registry](https://ghcr.io/gatewayd-io/gatewayd:latest) and [Docker Hub](https://hub.docker.com/r/gatewaydio/gatewayd).
6262

6363
To run GatewayD using Docker, you can use the following command, considering that the `gatewayd.yaml` and `gatewayd_plugins.yaml` configuration files and plugins are located in the current working directory on the host machine. The server will be available on port `15432` on the host machine and the container will be removed after it exits.
6464

6565
```bash
6666
docker run -v ./:/opt -p 15432:15432 --rm ghcr.io/gatewayd-io/gatewayd:latest run --config /opt/gatewayd.yaml --plugins-config /opt/gatewayd_plugins.yaml
6767
```
6868

69+
The same image can be used to install plugins. The plugins will be installed in the `plugins` directory in the current working directory on the host machine.
70+
71+
```bash
72+
docker run -v ./:/opt --rm ghcr.io/gatewayd-io/gatewayd:latest plugin install github.com/<organization>/<plugin-name>@<version> --plugins-config /opt/gatewayd_plugins.yaml
73+
```
74+
75+
{: .note }
76+
> In the above examples, the image from GitHub Container Registry is used. To use the image from Docker Hub, replace `ghcr.io/gatewayd-io/gatewayd:latest` with `gatewaydio/gatewayd:latest`.
77+
6978
### Docker Compose
7079

7180
For ease of use, a [docker-compose](https://github.com/gatewayd-io/gatewayd/blob/main/docker-compose.yaml) file is available. It starts two services: a PostgreSQL database and GatewayD. The server will be available on port `15432` on the host machine.

0 commit comments

Comments
 (0)