docker pull thinkcube/mkdocs
- Go to directory where you have writing permissions such as
your homeor/tmp
cd ~
docker run -v ~:/home/user -u user thinkcube/mkdocs mkdocs new my_test_project
cd my_test_project
- do your thing and populate the documents
docker run -d -v ~/my_test_project:/home/user -p 8092:80 thinkcube/mkdocs
- access:
127.0.0.1:8092
docker run -d -v ~/my_exsisting_project:/home/user -p 8092:80 thinkcube/mkdocs
access: 127.0.0.1:8092