Files
docker-cli/components/engine/daemon
Darren Shepherd ae6533484c Lazy initialize Volume on container Mount object
Currently on daemon start volumes are "created" which involves invoking
a volume driver if needed.  If this process fails the mount is left in a
bad state in which there is no source or Volume set.  This now becomes
an unrecoverable state in which that container can not be started.  The
only way to fix is to restart the daemon and hopefully you don't get
another error on startup.

This change moves "createVolume" to be done at container start.  If the
start fails it leaves it in the state in which you can try another
start.  If the second start can contact the volume driver everything
will recover fine.

Signed-off-by: Darren Shepherd <darren@rancher.com>
Upstream-commit: 2aa673aed7cd10497d578a14a9550c75789e0a43
Component: engine
2016-01-12 17:19:59 -05:00
..
2016-01-03 23:03:39 +01:00
2016-01-11 12:25:34 -05:00
2016-01-03 23:03:39 +01:00
2016-01-07 14:10:42 -05:00
2015-12-16 11:58:52 -08:00
2015-12-03 17:39:49 +01:00
2016-01-07 14:10:42 -05:00
2015-12-13 18:04:12 +02:00
2016-01-07 14:10:42 -05:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver