|
@@ -4,18 +4,8 @@ import (
|
|
|
"fmt"
|
|
|
|
|
|
"github.com/docker/docker/api/types"
|
|
|
- "github.com/docker/docker/runconfig"
|
|
|
)
|
|
|
|
|
|
-type ContainerJSONRaw struct {
|
|
|
- *Container
|
|
|
- HostConfig *runconfig.HostConfig
|
|
|
-
|
|
|
- // Unused fields for backward compatibility with API versions < 1.12.
|
|
|
- Volumes map[string]string
|
|
|
- VolumesRW map[string]bool
|
|
|
-}
|
|
|
-
|
|
|
func (daemon *Daemon) ContainerInspect(name string) (*types.ContainerJSON, error) {
|
|
|
container, err := daemon.Get(name)
|
|
|
if err != nil {
|