Skip to content
No description, website, or topics provided.
Dockerfile Shell
Branch: master
Clone or download
Pull request Compare This branch is even with kns-it:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.

You can’t perform that action at this time.