Signed-off-by: Alexander Morozov <lk4d4@docker.com>
| ... | ... |
@@ -349,7 +349,9 @@ func (container *Container) cleanup() {
|
| 349 | 349 |
container.daemon.unregisterExecCommand(eConfig) |
| 350 | 350 |
} |
| 351 | 351 |
|
| 352 |
- container.unmountVolumes(false) |
|
| 352 |
+ if err := container.unmountVolumes(false); err != nil {
|
|
| 353 |
+ logrus.Warnf("%s cleanup: Failed to umount volumes: %v", container.ID, err)
|
|
| 354 |
+ } |
|
| 353 | 355 |
} |
| 354 | 356 |
|
| 355 | 357 |
// killSig sends the container the given signal. This wrapper for the |