@@ -122,12 +122,12 @@ type Docker interface {
122
122
type Client interface {
123
123
ContainerAttach (ctx context.Context , container string , options dockertypes.ContainerAttachOptions ) (dockertypes.HijackedResponse , error )
124
124
ContainerCommit (ctx context.Context , container string , options dockertypes.ContainerCommitOptions ) (dockertypes.IDResponse , error )
125
- ContainerCreate (ctx context.Context , config * dockercontainer.Config , hostConfig * dockercontainer.HostConfig , networkingConfig * dockernetwork.NetworkingConfig , platform * v1.Platform , containerName string ) (dockercontainer.ContainerCreateCreatedBody , error )
125
+ ContainerCreate (ctx context.Context , config * dockercontainer.Config , hostConfig * dockercontainer.HostConfig , networkingConfig * dockernetwork.NetworkingConfig , platform * v1.Platform , containerName string ) (dockercontainer.CreateResponse , error )
126
126
ContainerInspect (ctx context.Context , container string ) (dockertypes.ContainerJSON , error )
127
127
ContainerRemove (ctx context.Context , container string , options dockertypes.ContainerRemoveOptions ) error
128
128
ContainerStart (ctx context.Context , container string , options dockertypes.ContainerStartOptions ) error
129
129
ContainerKill (ctx context.Context , container , signal string ) error
130
- ContainerWait (ctx context.Context , container string , condition dockercontainer.WaitCondition ) (<- chan dockercontainer.ContainerWaitOKBody , <- chan error )
130
+ ContainerWait (ctx context.Context , container string , condition dockercontainer.WaitCondition ) (<- chan dockercontainer.WaitResponse , <- chan error )
131
131
CopyToContainer (ctx context.Context , container , path string , content io.Reader , opts dockertypes.CopyToContainerOptions ) error
132
132
CopyFromContainer (ctx context.Context , container , srcPath string ) (io.ReadCloser , dockertypes.ContainerPathStat , error )
133
133
ImageBuild (ctx context.Context , buildContext io.Reader , options dockertypes.ImageBuildOptions ) (dockertypes.ImageBuildResponse , error )
@@ -809,7 +809,7 @@ func determineCommandBaseDir(opts RunContainerOptions, imageMetadata *api.Image,
809
809
}
810
810
811
811
// dumpContainerInfo dumps information about a running container (port/IP/etc).
812
- func dumpContainerInfo (container dockercontainer.ContainerCreateCreatedBody , d * stiDocker , image string ) {
812
+ func dumpContainerInfo (container dockercontainer.CreateResponse , d * stiDocker , image string ) {
813
813
ctx , cancel := getDefaultContext ()
814
814
defer cancel ()
815
815
0 commit comments