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 To install and launch Axxon One using Docker, do the following:

  1. Install Docker using the official
  2. guides
  3. manuals:
  4. Download the latest version of the Axxon One 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.

  5. 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.
  6. 0
    1. 10.
  7. 188
    1. 42
    2. Paste the copied command into the terminal and

  8. execute
    1. run it.

    2. 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.
  9. 0.188Enter the required IP address, login and password to launch the Axxon One Client (when launching
    1. 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).

...

titleNote

...

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"

...

Code Block
docker ps

...

Code Block
docker container ls

...

Code Block
ping <ip address>

...

Code Block
docker top <container name>
  • 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 Installation and launch of Axxon One using Docker is complete.