mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Update book
This commit is contained in:
19
book/src/docker.md
Normal file
19
book/src/docker.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Docker Guide
|
||||
|
||||
This repository has a `Dockerfile` in the root which builds an image with the
|
||||
`lighthouse` binary installed.
|
||||
|
||||
To use the image, first build it (this will likely take several minutes):
|
||||
|
||||
```bash
|
||||
$ docker build . -t lighthouse
|
||||
```
|
||||
|
||||
Once it's built, run it with:
|
||||
|
||||
```bash
|
||||
$ docker run lighthouse lighthouse --help
|
||||
```
|
||||
|
||||
_Note: the first `lighthouse` is the name of the tag we created earlier. The
|
||||
second `lighthouse` refers to the binary installed in the image._
|
||||
Reference in New Issue
Block a user