engine-api
engine-api copied to clipboard
DEPRECATED: Please see https://github.com/docker/docker/tree/master/client
Currently the only way to deserialize events from the `io.ReadCloser` returned from [`(*Client).ImagePull`](https://godoc.org/github.com/docker/engine-api/client#Client.ImagePull) is to use [`github.com/docker/docker/pkg/jsonmessage.JSONMessage`](https://godoc.org/github.com/docker/docker/pkg/jsonmessage#JSONMessage) which forces a dependency on the docker repo. Here's what code currently has...
HI all: I use engine-api for my docker monitor,my program run all the time。 I find that taishan 47434 root 9u unix 0xffff882025aae180 0t0 4493265 socket taishan 47434 root 10u...
Hi, I'm reading a folder from terminated container, the folder is returned as tar from CopyFromContainer which is great. The problem is with the metadata. The pathStat returned in the...
I want to retrieve all docker images of a remote machine, I was successful in returning the docker images of my local machine with the code provided in the Readme.md...
Having an empty implementation of `APIClient` (and possibly some of the other engine-api interfaces as well) is very useful for testing. @vdemeester wrote [an implementation](https://github.com/docker/libcompose/blob/master/test/nop.go) that we use in libcompose....
This is caused by https://github.com/docker/docker/issues/12845 ``` go package main import ( "fmt" "io/ioutil" "github.com/docker/engine-api/client" "github.com/docker/engine-api/types" "golang.org/x/net/context" ) // Some basic nginx container running const ContainerID string = "ce5d8b318ca0" func main()...
Hi, All, Today, I found that `docker network inspect NETWORK` shows engine details when this command is against Swarm. See https://github.com/docker/swarm/issues/2349 and https://github.com/docker/swarm/pull/2275 In the response of NetworkInspectWithRaw from Swarm,...
[This error](https://github.com/docker/engine-api/blob/master/client/request.go#L120) hides the context cancellation by wrapping it a string. There are several errors that try to add "helpful" messages to errors, but they just result in missing import...
Honestly, it's rocket science to pull an image. Ignore the black magic required to do trusted pulls, just parsing a string to ImageID and Tag is not even straight forward....
As swarm uses engine-api to manage docker engines , there must be some api compatibility between swarm and docker engine. Now latest version of Swarm is 1.2.3, it uses engine-api....