Run asciidoc without installing asciidoc.
The fstab/asciidoc image contains a Ubuntu Linux operating system with asciidoc installed.
Example: If you want to convert a manpage document ~/my-file.txt into a Unix manpage using asciidoc's a2x command, you can run
docker run -v ~:/home/asciidoc/work/ -t fstab/asciidoc a2x --doctype manpage --format manpage my-file.txt
This will pull the image from docker hub, start the container, and run a2x within the container.
Clone fstab/docker-asciidoc from GitHub.
git clone https://github.com/fstab/docker-asciidoc.git
Build the docker image
cd docker-asciidoc
docker build -t="fstab/asciidoc" .
Run with the same command as described above.
docker run -v ~:/home/asciidoc/work/ -t fstab/asciidoc a2x --doctype manpage --format manpage my-file.txt
Content type
Image
Digest
sha256:657bf7468…
Size
999.1 MB
Last updated
about 11 years ago
docker pull fstab/asciidoc