strace -e trace=file -fp PID
(file) or strace -e trace=desc -fp PID
(file descriptors)
Common calls:
access
close
– close file handlefchmod
– change file permissionsfchown
– change file ownership
dimg: <dimg_name... || ~>
from: <image>
fromDimg: <dimg_name>
fromDimgArtifact: <artifact_name>
git:
#!/bin/bash | |
# This is a modification of gitlab-gc.sh script created by Peter Bábics (pbabics/gitlab-gc.sh) | |
# Improvements | |
# - Searching in all BASE_PATH, not fixing the search to a depth of 2 | |
# - Directories without valid tags or revisions directories won't be processed (to avoid unexpected issues) | |
# - Logging in case there's nothing to delete | |
# - running registry-garbage-collect only when something has been deleted |