Skip to content

Commit

Permalink
Dockerfile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlgupta committed Dec 2, 2020
1 parent 0a8ce1e commit 1e99e76
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,23 @@ $ make build
```
The generated image when run would start a docker container with all the services.

## Related Projects
## Run
You can use either docker or podman to run this container.
```console
$ docker run -p 8080:80 -it dbsentry/sshfp
```

```console
$ podman run -p 8080:80 -it dbsentry/sshfp
```

By default the webserver uses port 80 on the container, if you want to use other port:
```console
$ docker run -p 8080:8080 --env PORT=8080 -it dbsentry/sshfp
```
```console
$ podman run -p 8080:8080 --env PORT=8080 -it dbsentry/sshfp
```

## License
All assets and code are under the GNU GPL LICENSE and in the public domain unless specified otherwise.
Expand Down

0 comments on commit 1e99e76

Please sign in to comment.