To launch the Axxon One Server using Docker, do the following:
- Install Docker:
- Prepare the environment:
Install the packages to use the repository via HTTPS.
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Add official Docker GPG key.
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
- Configure the repository:
for the x86_64 / amd64 architecture:
Debian:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Ubuntu:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
for the armhf architecture:
Debian:
sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Ubuntu:
sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Update the lists of packages:
Install and configure the Docker:
Install docker-ce.
sudo apt-get install docker-ce docker-compose
Add a user to the Docker.
Install git and the envsubst utility using the command:
sudo apt-get install git gettext binutils
- Prepare the environment:
Install the packages and set up the repository:
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
Refresh metadata cache:
- Install and configure the Docker:
Install Docker with additional packages:
dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose
Install git and the envsubst utility using the command:
dnf install git gettext binutils
- other distribution packages: https://docs.docker.com/engine/install/.
- Connect the Axxon One repository. To do this, do the following:
Go to the directory where the container will be located.
where %username is a username under which the container will be located.
Clone the axxonnext.docker repository.
git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonnext.docker.git
- Update the cloned repository files:
Go to the axxonnext.docker folder:
cd /home/%username/axxonnext.docker/
where %username is a username under which the container will be created.
Download the contents of the git repository:
- Create the Axxon One container. To create the Axxon One container, do the following:
Copy the deb packages of Axxon One, Detector Pack and Driver pack to the /home/%username/axxonnext.docker/server/build/ folder.
mv /home/user/Downloads/axxon-* /home/axxonnext.docker/server/build/
Go to the axxonnext.docker/server folder.
cd /home/%username/axxonnext.docker/server
Execute the command:
The assembly of the Axxon One container will begin.
To view the list of the assembled containers after the operation is complete, execute the command:
The Axxon One Server launch using Docker is complete.