Windows: Graph driver implementation

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2015-07-10 14:33:11 -07:00
parent b7e8169274
commit 52f4d09ffb
29 changed files with 850 additions and 145 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
package daemon
import (
"github.com/docker/docker/image"
"github.com/docker/docker/graph"
"github.com/docker/docker/runconfig"
)
@@ -16,7 +16,7 @@ type ContainerCommitConfig struct {
// Commit creates a new filesystem image from the current state of a container.
// The image can optionally be tagged into a repository
func (daemon *Daemon) Commit(container *Container, c *ContainerCommitConfig) (*image.Image, error) {
func (daemon *Daemon) Commit(container *Container, c *ContainerCommitConfig) (*graph.Image, error) {
if c.Pause && !container.IsPaused() {
container.Pause()
defer container.Unpause()