docker-api 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/docker/image.rb +1 -1
- data/lib/docker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10e7b09edbd6f9a2cce6e7e52cbda2234d31cda9
|
4
|
+
data.tar.gz: c8978cbf247564ef4bcd96e12a555efbbf1a2510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac9445f6e32fe9911626a5085a906f396005a648c332d7c46e02541b3c5387e543f93cfced81097fc1e5151856172460cf526f90b0c4f3b4a8b8252f128bb1d
|
7
|
+
data.tar.gz: 052c6711087ba38912f9a24a3d1787614d8c235463b0ef211e70c476dfe6394446b71aefa555aae985b71d5b7bc930858616c075d0a3b9f617937d685874371d
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@ docker-api
|
|
4
4
|
|
5
5
|
This gem provides an object-oriented interface to the [Docker Remote API](http://docs.docker.io/en/latest/api/docker_remote_api_v1.4/). Every method listed there is implemented, with the exception of attaching to the STDIN of a Container. At the time of this writing, docker-api is meant to interface with Docker version 0.8.*.
|
6
6
|
|
7
|
+
If you're interested in using Docker to package your apps, we recmommend the [dockly](https://github.com/swipely/dockly) gem. Dockly provides a simple DSL for describing Docker containers that install as Debian packages and are controlled by upstart scripts.
|
8
|
+
|
7
9
|
Installation
|
8
10
|
------------
|
9
11
|
|
@@ -32,8 +34,6 @@ Usage
|
|
32
34
|
|
33
35
|
docker-api is designed to be very lightweight. Almost no state is cached (aside from id's which are immutable) to ensure that each method call's information is up to date. As such, just about every extrenal method represents an API call.
|
34
36
|
|
35
|
-
If you're just looking to build Docker images, [dockly](https://github.com/swipely/dockly) provides a simple syntax for building and packaging images.
|
36
|
-
|
37
37
|
## Starting up
|
38
38
|
|
39
39
|
Follow the [installation instructions](http://www.docker.io/gettingstarted/), and then run:
|
data/lib/docker/image.rb
CHANGED
@@ -103,7 +103,7 @@ class Docker::Image < Docker::Base
|
|
103
103
|
{}
|
104
104
|
end
|
105
105
|
conn.post('/images/create', opts)
|
106
|
-
id = opts['repo'] ? "#{opts['repo']}
|
106
|
+
id = opts['repo'] ? "#{opts['repo']}:#{opts['tag']}" : opts['fromImage']
|
107
107
|
new(conn, 'id' => id, :headers => headers)
|
108
108
|
end
|
109
109
|
|
data/lib/docker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swipely, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|