github.com/gunjan5/docker@v1.8.2/daemon/changes.go (about)

     1  package daemon
     2  
     3  import "github.com/docker/docker/pkg/archive"
     4  
     5  // ContainerChanges returns a list of container fs changes
     6  func (daemon *Daemon) ContainerChanges(name string) ([]archive.Change, error) {
     7  	container, err := daemon.Get(name)
     8  	if err != nil {
     9  		return nil, err
    10  	}
    11  
    12  	return container.Changes()
    13  }