Preserving Ownership When Restoring Docker Named Volumes via Tar Extraction or Docker CP Staging
When a Docker named volume is backed up as a tar archive and later restored on a different host, the process must retain the original UID/GID and file mode bits. One approach runs a temporary container that mounts both the backup directory and the target named volume, then extracts the archive with tar using root privileges. Another approach copies the archi