engine-api icon indicating copy to clipboard operation
engine-api copied to clipboard

DEPRECATED: Please see https://github.com/docker/docker/tree/master/client

Results 28 engine-api issues
Sort by recently updated
recently updated
newest added

I copied ``` go func ExampleClient_ContainerLogs_withTimeout() { ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) defer cancel() client, _ := NewEnvClient() reader, err := client.ContainerLogs(ctx, "container_id", types.ContainerLogsOptions{}) if err != nil { log.Fatal(err)...

Please see this code: https://github.com/docker/engine-api/blob/master/client/image_pull.go#L30. The status code is not checked after running `privilegeFunc`. This could return a completely invalid body and result in undetectable error. I'm not sure about...

I am trying to **add a volume to a running container** with "containers update" API call(http) but I can't find the new volume in the container. I am adding device...

If I write the content to a file its adding some header and footer to the file. What is the issue? Sample code ``` reader, _, err = CopyFromContainer(context.TODO(), containerId,...

I am trying to use golang SDK for Swarm Init as follows: resp, err := cli.SwarmInit(context.Background(), swarm.InitRequest{ListenAddr: "0.0.0.0:2377",AdvertiseAddr:"x.x.x.x",}) fmt.Printf("got resp: %s, err: %s", resp, err) I don't see the response...

It came up a lot in the Docker Remote API rework discussions: https://github.com/docker/docker/issues/15188 https://github.com/docker/docker/issues/5893 I also think swagger is a great way to describe APIs. If there's a way maybe...

[It has been suggested that this library should just be a set of low-level types for implementing clients](https://github.com/docker/engine-api/issues/142), but I am proposing we expand the remit of engine-api to make...

ConsoleSize field in HostConfig doesn't seem to work well with yaml.Unmarshal Is supporting YAML in the plans?

I am trying to just create a simple container giving the API examples. I don't know enough about golang to troubleshoot this any further so I assume this might be...