Skip to content

Commit 76bb6cd

Browse files
authored
Update README.md
1 parent 505d912 commit 76bb6cd

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ Runs [tang](https://github.com/latchset/tang) inside a Rocky Linux docker contai
44

55
## Usage
66

7+
It is recommended to use the latest versioned release e.g v1.0.0. To avoid needing to update the README
8+
each time, the documentation will use the `latest` tag.
9+
10+
Simplest example:
11+
12+
```
13+
docker run -d -p 8080:80 -v tang-db:/var/db/tang ghcr.io/stackhpc/tang:latest
14+
```
15+
16+
Using host networking with a custom port:
17+
718
```
8-
docker run -d -p 8080:80 -v tang-db:/var/db/tang stackhpc/tang
19+
docker run -e TANG_LISTEN_PORT=1234 -d --network host -v tang-db:/var/db/tang ghcr.io/stackhpc/tang:latest
920
```

0 commit comments

Comments
 (0)