Filter out SHARED volumes during cleanup in entrypoint script
This commit is contained in:
@@ -223,7 +223,7 @@ remove_additionals() {
|
||||
debug "$service_exec service-$NAME.json stop force dns-remove"
|
||||
$service_exec service-$NAME.json stop force dns-remove
|
||||
|
||||
for VOLUME in $(echo $VOLUMES | grep -vE 'USER|SYSTEM'); do
|
||||
for VOLUME in $(echo $VOLUMES | grep -vE 'USER|SYSTEM|SHARED'); do
|
||||
if [ "$(echo $VOLUME | cut -d '/' -f1)" ]; then
|
||||
docker volume rm $VOLUME
|
||||
debug "deleted volume: $VOLUME"
|
||||
|
Reference in New Issue
Block a user