Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 492 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 492 Bytes

DocFX CLI as Docker image

Bash alias

The easiest way to use the container is to add an alias like in the following snippet to your ~/.bash_profile:

alias docfx='docker run -ti --rm -p 8080:8080 --name docfx -u `id -u` -v `pwd`:/work -w /work knsit/docfx:latest'

With this alias defined you're able to use the container e.g. like this:

docfx --help

Known caveats

Apparently the command docfx serve does not work right now through the Docker image.