-
Notifications
You must be signed in to change notification settings - Fork 101
setup docker for antora
We use the latest Antora Docker Image from docker hub to simplify building a static development site from our sources.
This guide will help you install docker, configure docker and pull the community image for Antora for building documentation. You will perform the following tasks to build our documentation.
-
Install Docker
-
Enable the docker daemon
-
Start the docker daemon
-
Add your user to the docker group.
-
Pull the latest Antora docker container
-
Install docker on your OpenSUSE Leap 42.3 / 15 / 15.1 system:
sudo zypper in docker
-
Start and enable the docker daemon:
sudo systemctl enable docker sudo systemctl start docker
-
Add your user to the docker group:
sudo usermod -aG docker $USER
-
To activate docker with your user, log out of your current user session and log back in.
-
Test that docker works without
sudo
by typing the following in your terminal:docker images
The following output should be displayed in your terminal:
Docker is now setup on your system. In the next section you will learn how to build documentation using our custom container.
-
To pull in the latest Antora image enter the following into your terminal:
docker pull antora/antora:latest
-
Check that you have the image:
docker images
You should see something similar to the following output:
Now that Docker and Antora are setup lets get to building the docs!