...
- Connect the Axxon One repository. To do this, do the following:
- Install git and the envsubst utility using the command:
For Debian and Ubuntu:
Code Block language shell sudo apt-get install git gettext binutils
- For Fedora, RedHat Linux, CentOS:
Code Block language shell dnf install git gettext binutils
Clone the axxonone.docker repository.
Code Block language shell git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonone.docker.git
Note title Attention! If the "server certificate verification failed" error occurs, execute the following command in the terminal:
Code Block language shell 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.Code Block language shell cd /home/%username/axxonone.docker/
Download the contents of the git repository:
Code Block language shell git pull
- Go to the axxonone.docker folder:
- Install git and the envsubst utility using the command:
...
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,
- axxonsoftaxxon-detector-pack,
- axxonsoftaxxon-drivers-pack.
- Run the Docker image build:
Code Block language shell ./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:
Code Block | ||
---|---|---|
| ||
./axxon-one.sh list |
Output example:
Code Block | ||
---|---|---|
| ||
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 |
Note | ||
---|---|---|
| ||
|
Commands to work with the Docker container
Starting the Docker container:
Code Block ./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:
Code Block language shell ./axxon-one.sh start 2.0.10.42
Stopping the Docker container:
Code Block language shell ./axxon-one.sh stop
Checking the Docker container status:
Code Block ./axxon-one.sh status
Collecting the system data:
Code Block ./axxon-one.sh support
The file with data will be saved in the /home/axxonone.docker/data directory.