HUB
Sign inSign up

fstab/asciidoc

By fstab

•Updated about 11 years ago

Image
0

1.2K

fstab/asciidoc repository overview

⁠docker-asciidoc

Run asciidoc⁠ without installing asciidoc.

⁠How To Run from Docker Hub

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.

⁠How To Build from Source

  1. Clone fstab/docker-asciidoc⁠ from GitHub.

    git clone https://github.com/fstab/docker-asciidoc.git
    
  2. Build the docker image

    cd docker-asciidoc
    docker build -t="fstab/asciidoc" .
    
  3. 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
    

Tag summary

Content type

Image

Digest

sha256:657bf7468…

Size

999.1 MB

Last updated

about 11 years ago

docker pull fstab/asciidoc