Go to documentation repository
Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.
Previous page Next page
Installing the script package
To work with the Docker container, you must first install the script package. To install the package, do the following:
- Connect the Axxon One repository. To do this, do the following:
- Install git and the envsubst utility using the command:
For Debian and Ubuntu:
sudo apt-get install git gettext binutils
- For Fedora, RedHat Linux, CentOS:
dnf install git gettext binutils
Clone the axxonone.docker repository.
git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonone.docker.git
Attention!
If the "server certificate verification failed" error occurs, execute the following command in the terminal:
export GIT_SSL_NO_VERIFY=1
- Update the cloned repository files:
- Go to the axxonone.docker folder:where %username is a username under which the container will be created.
cd /home/%username/axxonone.docker/
Download the contents of the git repository:
git pull
- Go to the axxonone.docker folder:
- Install git and the envsubst utility using the command:
Installing the script package is complete.
Building the Docker image
Before you start the container, you must build the Docker image. To do this, do the following:
- Copy the following deb packages to the axxonone.docker/build folder:
- axxon-one-core,
- axxon-one,
- axxon-detector-pack,
- axxon-drivers-pack.
- Run the Docker image build:
./axxon-one.sh build
After you complete the build, Axxon One will be ready to be started in the Docker container. To view the available versions, use the command:
./axxon-one.sh list
Output example:
REPOSITORY TAG IMAGE ID CREATED SIZE axxon-one latest 00deadbeefff 1 hour ago 5.92GB axxon-one 2.0.10.42 00deadbeefff 1 hour ago 5.92GB
Attention!
- The last completed build receives the latest tag, in addition to the actual version.
- There can be several versions of the Axxon One image in the system, but you can run only one image.
- You cannot run the Docker container in parallel with the native version of Axxon One.
Commands to work with the Docker container
Starting the Docker container:
./axxon-one.sh start
By default, the image with the latest tag is used. To start a specific version of the Docker container, specify its number, for example:
./axxon-one.sh start 2.0.10.42
Stopping the Docker container:
./axxon-one.sh stop
Checking the Docker container status:
./axxon-one.sh status
Collecting the system data:
./axxon-one.sh support
The file with data will be saved in the /home/axxonone.docker/data directory.