Skip to content

Commit

Permalink
Merge pull request #727 from NethServer/sdl-7054
Browse files Browse the repository at this point in the history
Remove the image in the worker node NethServer/dev#7054
  • Loading branch information
stephdl authored Oct 24, 2024
2 parents 55fcc46 + 4cca119 commit b15c353
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ else # Rootless module
userdel -f -r "${mid}"
fi
fi

# Remove the podman image
podman_image_id=$(REDIS_USER="default" redis-exec hget module/$mid/environment IMAGE_ID)
podman rmi --ignore "$podman_image_id" || :

0 comments on commit b15c353

Please sign in to comment.