Commit Detail
Commit 6523ec4
Clone snapshot volumes when restoring a snapshot This gives the exact same semantics that snapshot restoring will have in production when it is implemented: restoring a snapshot to a mount point masks the current contents of the mount point (Docker volumes do this) and snapshots should be immutable (this is why we clone the volume instead of just mounting it). This is an improvement over the current archive API implementation, which does not mask the mount point contents on restore and also has very poor performance on macOS (caused by the snapshot contents having to traverse the Docker API socket multiple times).