Skip to content
Docker Container for Asciidoctor PDF
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Simple Dockerfile for Asciidoctor-pdf

  • Build dockerfile using this command:

docker build -t asciidoctor-pdf .
  • Start the container

docker run --name asciidoctor-pdf -h asciidoctor -it -v /your/host/folder:/documents/ asciidoctor-pdf /bin/bash
  • Enter to container

docker exec -it asciidoctor-pdf /bin/bash
  • Convert your asciidoctor file using asciidoctor-pdf

asciidoctor-pdf yourfile.adoc -o /output/folder/file.pdf
You can’t perform that action at this time.