Adopt persistent Portainer volume explicitly
This commit is contained in:
@@ -44,6 +44,9 @@ case "$command" in
|
||||
deploy)
|
||||
[[ $# -gt 0 ]] || { usage >&2; exit 2; }
|
||||
run python3 "$ROOT_DIR/platform/scripts/sync-profile-matrix.py" --check
|
||||
if ! docker volume inspect portainer_data >/dev/null 2>&1; then
|
||||
run docker volume create portainer_data
|
||||
fi
|
||||
if [[ $1 == core ]]; then
|
||||
shift
|
||||
[[ $# -eq 0 ]] || { echo "core akzeptiert keine weiteren Services" >&2; exit 2; }
|
||||
|
||||
Reference in New Issue
Block a user