Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
titleOn the page:

Table of Contents


Column



Installing the script package

To work with the Docker container, you must first install the script package. To install the package, do the following:

  1. Connect the Axxon One repository. To do this, do the following:
    1. Install git and the envsubst utility using the command:
      1. For Debian and Ubuntu:

        Code Block
        languageshell
        sudo apt-get install git gettext binutils
      2. For Fedora, RedHat Linux, CentOS:
        Code Block
        languageshell
        dnf install git gettext binutils
    2. Clone the axxonone.docker repository.

      Code Block
      languageshell
      git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonone.docker.git
      Note
      titleAttention!

      If the "server certificate verification failed" error occurs, execute the following command in the terminal:

      Code Block
      languageshell
      export GIT_SSL_NO_VERIFY=1
    3. Update the cloned repository files:

      1. Go to the axxonone.docker folder:
        Code Block
        languageshell
        cd /home/%username/axxonone.docker/
        where %username is a username under which the container will be created.
      2. Download the contents of the git repository:

        Code Block
        languageshell
        git pull

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:
  1. Copy the following deb packages to the axxonone.docker/build folder:
    • axxon-one-core,
    • axxon-one,
    • axxonsoft-detector-pack,
    • axxonsoft-drivers-pack.
  2. Run the Docker image build:
    Code Block
    languageshell

The list of containers.

...

  1. ./axxon-one.sh 

...

Launching the container.

  1. 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
languageshell

...

./axxon-one.sh

...

 list

Output example:

Code Block
languageshell
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
titleAttention!
  • 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:

    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
    languageshell

Viewing the container status.

...

  • ./axxon-one.sh

...

  •  start 2.0.10.42
  • Stopping the Docker container:

    Code Block
    languageshell
    ./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

...

Viewing the installed packages version.

...

  • .

...