Skip to content

Commit

Permalink
fix: Eliminate unnamed Kuiper volumes
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Bryon Nevis <bryon.nevis@intel.com>
  • Loading branch information
bnevis-i committed Mar 8, 2023
1 parent 57583c8 commit 9b5bde4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compose-builder/docker-compose-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ volumes:
consul-config:
consul-data:
kuiper-data:
kuiper-etc:
kuiper-log:
kuiper-plugins:

services:
consul:
Expand Down Expand Up @@ -230,6 +233,9 @@ services:
- edgex-network
volumes:
- kuiper-data:/kuiper/data
- kuiper-etc:/kuiper/etc
- kuiper-log:/kuiper/log
- kuiper-plugins:/kuiper/plugins
environment:
# KUIPER__BASIC__DEBUG: "true"
KUIPER__BASIC__CONSOLELOG: "true"
Expand Down

0 comments on commit 9b5bde4

Please sign in to comment.