README.md in docker-api-0.0.2 vs README.md in docker-api-0.0.3
- old
+ new
@@ -88,12 +88,12 @@
# => Docker::Image { :id => ae7ffbcd1, :connection => Docker::Connection { :url => http://localhost, :options => {:port=>4243} } }
image.created?
# => true
-# Insert a file into an Image.
-image.insert('path' => '/usr', 'url' => '/home/user/.vimrc')
-# => { 'Id' => '' }
+# Insert a file into an Image. Returns a new Image that contains that file.
+image.insert('path' => '/google', 'url' => 'http://google.com')
+# => Docker::Image { :id => 11ef6c882, :connection => Docker::Connection { :url => http://localhost, :options => {:port=>4243} } }
# Tag an Image.
image.tag('repo' => 'base2', 'force' => true)
# => nil