The ftpub
tool is available as a pre-configured image in a Docker registry.
The following pre-configured tags are available:
latest
is an alias for the latest stable release.beta
is an alias for the latest test release.alpha
is an alias for an early test release.
Using the alpha
version is not recommended.
It is possible to run the ftpub
tool in a Docker container as follows:
-
In the terminal window, run the following command to pull the latest version of the image:
docker pull fluidtopics/publisher
-
It is possible to target a different version of the image as follows:
docker pull fluidtopics/publisher:beta
-
Run the following command to go to the directory containing the content to be published:
cd path/to/doc/directory
-
Run the following command to create a volume named
doc
containing the content to be published:docker run -v $PWD:/doc -it fluidtopics/publish /bin/bash
-
Run
ftpub --help
to display the help tool.
If not yet familiar with basic Docker concepts, see Get started.