Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit cdac212

Browse files
committed
Update Installation section with instructions for running with Docker
1 parent 14c0eb0 commit cdac212

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ Run the following command to install using [Homebrew](https://brew.sh/):
3434
$ brew install swiftdocorg/formulae/swift-doc
3535
```
3636

37+
#### Docker
38+
39+
You can run `swift-doc` from the latest [Docker][docker] image
40+
with the following commands:
41+
42+
```terminal
43+
$ docker pull swiftdoc/swift-doc:latest
44+
$ docker run -it swiftdoc/swift-doc
45+
```
46+
3747
#### Manually
3848

3949
Run the following commands to build and install manually:
@@ -367,4 +377,5 @@ Mattt ([@mattt](https://twitter.com/mattt))
367377
[dot]: https://en.wikipedia.org/wiki/DOT_(graph_description_language)
368378
[graphviz]: https://www.graphviz.org
369379
[libxml2]: https://en.wikipedia.org/wiki/Libxml2
380+
[docker]: https://www.docker.com
370381
[semver]: https://semver.org

0 commit comments

Comments
 (0)