aab82bfc9cb94b0d6b5dc347f74b2c43b1f1f4e1
During a plugin remove, docker performs an `os.Rename` to move the plugin data dir to a new location before removing to acheive an atomic removal. `os.Rename` can return either a `NotExist` error if the source path doesn't exist, or an `Exist` error if the target path already exists. Both these cases can happen when there is an error on the final `os.Remove` call, which is common on older kernels (`device or resource busy`). When calling rename, we can safely ignore these error types and proceed to try and remove the plugin. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 93027b1ff2475b66b6321b5722009fad4def8187 Component: engine
Description
No description provided
310 MiB
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%