Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents


Column



General information about the Docker image and container


ImageContainer
DescriptionTemplate (template blank) on the basis of which containers are createdA complete software instance created on the basis of the image
Features

The image includes:

  • application code;
  • libraries and dependencies;
  • startup commands and service settings

Container features:

  • isolation from the host system and other containers;
  • the use of host machine resources (CPU, memory, network, storage);
  • can be started, stopped, removed, or restarted

Installing the Docker server

To install and launch Axxon One To launch the Axxon One Server using Docker, do the following:

  1. Install Docker using the official manuals:
    • Debian:
  2.  
  3. Dual
      • dual-core
  4. processor
      • CPU;
      • 4 GB RAM;
      • 200 GB HDD.
  5. other
    • Other distribution packages:
  6.  
  7.  
  8. Connect
  9. Download the latest version of the Axxon One
  10.  repository. To do this, do the following:Install git and the envsubst utility using the command:

    For Debian and Ubuntu:

    Code Block
    sudo apt-get install git gettext binutils

    For Fedora, RedHat Linux, CentOS:

    Code Block
    dnf install git gettext binutils

    Clone the axxonone.docker repository.

    Code Block
    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
    export GIT_SSL_NO_VERIFY=1
    Update the cloned repository files:
  11. Go to the axxonone.docker folder:

    Code Block
    cd /home/%username/axxonone.docker/

    where %username is a username under which the container will be created.

  12. Download the contents of the git repository:

    Code Block
    git pull
    Create the Axxon One container. To create the Axxon One container, do the following:
  13. Copy the deb packages of Axxon One, Detector Pack and Driver pack to the /home/%username/axxonone.docker/server/build/ folder.
  14. Go to the axxonone.docker/server folder.

    Code Block
    cd /home/%username/axxonone.docker/server
  15. Execute the command:

    Code Block
    ./axxon-one.sh build

    The assembly of the Axxon One container will begin.

  16. To view the list of the assembled containers after the operation is complete, execute the command:

    Code Block
    ./axxon-one.sh list

The Axxon One Server launch using Docker is complete.

  1. Docker image using the following command:
    Code Block
    languagebash
    sudo docker pull axxonsoft/axxon-one:latest
    Note
    titleAttention!

    The Axxon One failover build of the Docker image is available. If necessary, AxxonSoft technical support specialists can provide it.

  2. Launch Docker using the following command:
    Code Block
    languagebash
    sudo docker run axxonsoft/axxon-one:latest
    Info
    titleNote

    If you need to install an earlier version of the Axxon One Docker image:

    1. Open the link to select the required Axxon One Docker image.

    2. Next to the required Docker image, click the button to copy the command.
      Example of the command:

      Code Block
      languagebash
      sudo docker pull axxonsoft/axxon-one:2.0.10.42
    3. Paste the copied command into the terminal and run it.

    4. Launch Docker using the following command:

      Code Block
      languagebash
      sudo docker run <image version>

      For example:

      Code Block
      languagebash
      sudo docker run axxonsoft/axxon-one:2.0.10.42

Starting Axxon One

After installation, you can connect to the Docker server with the separately installed Axxon One client. To do this, when starting the client, enter the IP address of the Docker server, login, and password in the authorization window (when you start Axxon One for the first time, enter the following login and password: root/root). You can connect to the Docker server using the Flatpak package as well (see Running the client as Flatpak).

List of useful commands:

  • Determine the IP address to connect to:
    Code Block
    docker inspect <container id> | grep "IPAddress"
  • View the list of containers and their status:
    • Only active containers:
      Code Block
      languageshell
      docker ps
    • All containers (active and stopped):
      Code Block
      languageshell
      docker ps -a
  • Check the availability of the server:
    Code Block
    ping <ip address>
  • View the running processes:
    Code Block
    docker top <container name>
  • Start the container:
    Code Block
    languageshell
    docker start <container_id>
  • Check the status of the container:
    Code Block
    languageshell
    docker ps
  • Stop the container:
    Code Block
    languageshell
    docker stop <container_id>

Installing and starting Axxon One using Docker is complete.

Additional information

Directory inside the container

Directory is mounted inside the container:

Code Block
languageshell
/var/lib/docker/volumes/<volume_id>

You can change the path upon request via AxxonSoft technical support specialists.
To receive the volume_id value, use the command:

Code Block
languageshell
docker inspect <container_id>

Collecting the support package in the Docker container

To collect the support package, do the following:

  1. First, find out the ID of the Docker container using the command:
    Code Block
    languageshell
    docker ps -a
  2. Get access to the container terminal (container must be running):
    Code Block
    languageshell
    docker exec -it <container_id> sh
    where <container_id> is the Docker container ID.
  3. Go to the Axxon One bin directory:
    Code Block
    languageshell
    cd /opt/AxxonSoft/AxxonOne/bin
  4. Run the command:
    Code Block
    languageshell
    ./start_app support /data
    This initiates the process of creating the support package, which will be saved in the data directory.
  5. Exit the terminal using the command:
    Code Block
    languageshell
    exit
  6. Go to the /var/lib/docker/volumes/<volume_id>/data directory, which is configured for file exchange between the container and the host. The completed support package will be located in this directory.

Collecting the support package in the Docker container is complete.

...