noderat / docker-docfx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:Dockerfile 85.4%Language:Shell 14.6%