1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

24 commits

Author SHA1 Message Date
David Davis
9ac6241651 [docker] Fixing bad namespace on errors 2016-03-22 17:17:37 -04:00
Partha Aji
b711fb7bc2 Makes the docker api version call use assigned connection 2015-03-17 13:18:30 -04:00
David Davis
43e03bceba Adding multiple server support for Docker 2015-02-16 19:33:13 -05:00
Dmitri Dolguikh
934f160df4 Fixes "Error - undefined method 'delete' for nil:NilClass" when attempting to stop a container 2015-01-23 15:53:56 +00:00
Daniel Lobato
78456b0fff [Docker] Environment variables support 2014-11-19 09:47:05 +01:00
Daniel Lobato
6162ed8034 [Docker] Parse properly ports and links attributes
Hash based attributes were not parsed properly by container_get. This
patch fixes that and adds support for tty, attach_stdin, attach_stdout,
attach_stderr, links, port bindings and exposed ports.
2014-11-16 20:44:56 +01:00
Daniel Lobato
bb266ea3ff Handle Docker authentication errors
Fog was not handling at all the error returned by docker-api. This
commit fixes that and raises an AuthenticationError that can be caught
by Fog clients.

There was a bug in the errors code for container_action that this PR
fixes too.
2014-11-14 02:55:08 +01:00
Daniel Lobato
b38f644f77 Docker: Support for logs/top operations
In order to test this properly, responses from the mock return values
closer to what the API actually returns. Examples are from Remote API
1.18.

downcasing hash keys cannot be performed on all Docker API operations so
now it will only be done where the top element is a hash. Logs, top, and
many others will not return a hash.
2014-10-16 12:43:02 +02:00
Wesley Beary
a4f4ce28ed Merge pull request #3196 from witlessbird/docker-image-search
added support for searching of images in fogdocker
2014-10-13 10:37:29 -05:00
Dmitri Dolguikh
7fa4e46c82 added support for searching of images in fogdocker 2014-10-13 16:25:14 +01:00
Daniel Lobato
8f6c8770ab Raise docker-api errors up 2014-10-10 10:43:17 +02:00
Paul Thornthwaite
6716f37c5f Replace deprecated Hash methods
Done with `rubocop --auto-correct --only DeprecatedHashMethods`
2014-05-26 16:22:08 +01:00
Paul Thornthwaite
ec8b940b2c Standardise on collection methods
Done with `rubocop --auto-correct --only CollectionMethods`
2014-05-26 16:22:07 +01:00
Paul Thornthwaite
330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Michael Sprauer
67fd6c328e info is now called json 2014-04-03 12:12:16 +02:00
Amos Benari
0f220ee618 added container commit request and fixed several tests in real mode 2014-03-05 19:08:48 +02:00
Amos Benari
803333bc5e [Docker] container actions fixed. 2014-03-04 14:41:01 +02:00
Amos Benari
2402fb8f8b [Docker] camelize hash keys on image and container create 2014-03-04 14:41:00 +02:00
Amos Benari
2243158daf [Docker] fixes running state is not loaded,
becase list-containers get only part of the container attributes
2014-03-04 14:41:00 +02:00
Amos Benari
53c37e7df1 [docker] added command attribute 2014-03-04 14:41:00 +02:00
Amos Benari
aedaf730e8 [Docker] fixed attributes aliases 2014-02-27 12:40:39 +02:00
Amos Benari
92dfcd5f6a extended the server (container) attributes 2014-02-18 15:06:54 +02:00
Amos Benari
48ea032fff added docker support 2014-02-16 01:06:49 +02:00