Go to documentation repository
To create an archive on the mounted disk in the Docker container, do the following:
- Display the list of available disks using the command:
lsblk
- Create a directory for mounting:
sudo mkdir -p /mnt/mydisk
- Mount the selected disk in the created directory:
sudo mount /dev/sda4 /mnt/mydisk
- Assign directory permissions to the ngp user:
sudo chown -R ngp:ngp /mnt/mydisk
Attention!
If the user and the ngp group are absent on the host machine, you must run the following command to create them:
for g in ngp disk dialout audio video render detector-pack-users; do getent group "$g" >/dev/null || sudo groupadd --system "$g"; done && sudo useradd --system --gid ngp --groups disk,dialout,audio,video,render,detector-pack-users --no-create-home --shell /usr/sbin/nologin ngp
- Run the Docker image with the mounted disk:In this particular example, the /dev/sda4 disk is mounted.
docker run -it -v /mnt/mydisk:/dev/sda4 axxon-one
Note
For further launches, to start the Docker container, use the command:
docker start <container_id>
You don't need to specify the mounting parameter again, as it is saved in the container configuration.
- Create the remote archive in Axxon One, specifying the /dev/sda4 path (see Creating a remote archive).
Creating an archive on the mounted disk is complete.
Overview
Content Tools