Issue:
Following the guide at:
https://gallery.ecr.aws/withsecure/atlant
How to configure a persistent data storage/volume for downloaded signatures. Especially during development/testing phases it is quite useless to load signatures over and over again on every container restart?
Resolution:
To just map a local directory or a docker volume as the Atlant container's update directory with -v option to the docker run command.
Example:
# Create a Docker volume
docker volume create atlant_data
# Run the container with the volume
docker run --rm -v atlant_data:/opt/withsecure/atlant/updates -v /home/jaalsa/atlant-container/config:/etc/opt/withsecure/atlant/config:ro -p 8080:8080 -p 1344:1344 atlant:latest
So, the essential part is -v atlant_data:/opt/withsecure/atlant/updates.
This will prevent unnecessary downloads. Also, one must be careful to not run two containers with the same volume/path.