When starting the EdgeX framework, a "docker volume ls" command will show three hex-string named volumes that are created as a result of VOLUME declarations in the base image. These volumes correspond to /kuiper/etc, /kuiper/log, and /kuiper/plugins.
This commit explictly mounts named volumes to these locations to stop docker from creating randomly named fill-in volumes.
PR Checklist
Please check if your PR fulfills the following requirements:
[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?) TBD. Tested blocked by another PR.
[ ] I have opened a PR for the related docs change (if not, why?)
Testing Instructions
Before fix:
make clean
make run
docker volume ls
(observe placeholder volumes)
After fix:
make clean
make run
docker volume ls
(observe placeholder volumes are replaced with named volumes)
When starting the EdgeX framework, a "docker volume ls" command will show three hex-string named volumes that are created as a result of VOLUME declarations in the base image. These volumes correspond to /kuiper/etc, /kuiper/log, and /kuiper/plugins.
This commit explictly mounts named volumes to these locations to stop docker from creating randomly named fill-in volumes.
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
Before fix:
After fix: