README.md in docker-api-1.34.0 vs README.md in docker-api-1.34.1
- old
+ new
@@ -411,11 +411,11 @@
container.read_file("/test")
# => "Hello world"
# Export a Container. Since an export is typically at least 300M, chunks of the
# export are yielded instead of just returning the whole thing.
-File.open('export.tar', 'w') do |f|
+File.open('export.tar', 'w') do |file|
container.export { |chunk| file.write(chunk) }
end
# => nil
# Inspect a Container's changes to the file system.
@@ -619,13 +619,9 @@
image = Docker::Image.create('fromImage' => 'repo', 'tag' => 'tag')
image = image.insert_local('localPath' => 'some-file.tar.gz', 'outputPath' => '/')
image.tag('repo' => 'repo', 'tag' => 'new_tag')
end
```
-
-## Known issues
-
-* If the docker daemon is always responding to your requests with a 400 Bad Request when using UNIX sockets, verify you're running Excon version 0.46.0 or greater. [Link](https://github.com/swipely/docker-api/issues/381)
## Not supported (yet)
* Generating a tarball of images and metadata for a repository specified by a name: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.14/#get-a-tarball-containing-all-images-and-tags-in-a-repository
* Load a tarball generated from docker that contains all the images and metadata of a repository: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.14/#load-a-tarball-with-a-set-of-images-and-tags-into-docker