| Class | Docker::Image |
| In: |
lib/docker/image.rb
|
| Parent: | Object |
Given a Dockerfile as a string, builds an Image.
Import an Image from the output of Docker::Container#export. The first argument may either be a File or URI.
Save the raw binary representation or one or more Docker images
@param names [String, Array#String] The image(s) you wish to save @param filename [String] The file to export the data to. @param conn [Docker::Connection] The Docker connection to use
@return [NilClass, String] If filename is nil, return the string representation of the binary data. If the filename is not nil, then return nil.
Stream the contents of Docker image(s) to a block.
@param names [String, Array#String] The image(s) you wish to save @param conn [Docker::Connection] The Docker connection to use @yield chunk [String] a chunk of the Docker image(s).
Given a path of a local file and the path it should be inserted, creates a new Image that has that file.