To create an archive on the mounted disk in the Docker container, do the following:
lsblk |
sudo mkdir -p /mnt/mydisk |
sudo mount /dev/sda4 /mnt/mydisk |
sudo chown -R ngp:ngp /mnt/mydisk |
docker run -it -v /mnt/mydisk:/dev/sda4 axxon-one |
For further launches, to start the Docker container, use the command:
You don't need to specify the mounting parameter again, as it is saved in the container configuration. |
Creating an archive on the mounted disk is complete.