mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
This implements the new Put() operation such that Get()/Put() maintains a refcount for each ID, mounting only on first Get() and unmounting on the last Get(). This means we avoid littering the system with lots of mounts and active devicemapper devices and free resources related to them. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) asdfljk Upstream-commit: 886f650d9b2133fb61e7cc5b0bb7795246852026 Component: engine