Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Восстановить из v. 6

...

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

  1. Go to the home directory and create a folder for the script package.
    Code Block
    languageshell
    cd /home
    mkdir axxonone.docker
    cd axxonone.docker
  2. Connect the 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 axxonnext.docker repository.

      Code Block
      languageshell
      git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxononeaxxonnext.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 axxonnext.docker folder:
        Code Block
        languageshell
        cd /home/%username/axxononeaxxonnext.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
  3. Unzip the archive:
    Code Block
    languageshell
    tar -xzvf axxon-one_server.docker.tgz

Installing the script package is complete.

...

  1. Copy the following deb packages to the axxonone axxonnext.docker/build folder:
    • axxon-one-core,
    • axxon-one,
    • axxonsoftaxxon-detector-pack,
    • axxonsoftaxxon-drivers-pack.
  2. Run the Docker image build:
    Code Block
    languageshell
    ./axxon-one.sh build

...

  • 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
    ./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/axxononeaxxonnext.docker/data directory.