Commit Graph

89 Commits

Author SHA1 Message Date
Victor Vieux 174f664b3f fix attach
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-23 02:20:13 +00:00
Victor Vieux 2365ec79e6 attach support
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-23 00:23:20 +00:00
Victor Vieux 5edf3ceeb2 log all errors
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-23 00:13:26 +00:00
Victor Vieux 93f35e6c97 proxy status codes
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-19 21:44:14 +00:00
Victor Vieux 6e39962998 -addr -> multiple -H + unix
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-15 23:02:23 +00:00
Victor Vieux ebf33b3429 log.Println -> log.Debugf
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-12 21:37:06 +00:00
Victor Vieux aebec2890a proxy simple requests
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-12 19:50:40 +00:00
Andrea Luzzardi 39fe73a231 TLS support.
TLS authentication support between the CLI and Swarm but also between
Swarm and the Docker nodes.

Closes #148.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-09 13:43:25 -08:00
Victor Vieux 21ee7e1a13 error when name already exists in docker run
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-09 00:18:22 +00:00
Victor Vieux 541cb74e84 error when docker run without -d
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-08 21:43:03 +00:00
Victor Vieux 926e8e11f1 add --api-enable-cors on swarm manage
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-12-06 23:04:08 +00:00
Andrea Luzzardi ad5040c9f4 Set the container status to pending if the underlying host is not healthy
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-12-02 17:46:22 -08:00
Victor Vieux f7fed9a7bd add tests for events 2014-11-25 02:14:29 +00:00
Victor Vieux 1f74cb5809 remove races 2014-11-21 01:36:30 +00:00
Victor Vieux dd05044b96 add version 2014-11-21 00:18:06 +00:00
Victor Vieux 20319a5049 use ID and names 2014-11-20 19:03:55 +00:00
Victor Vieux e63e0f3956 add kill 2014-11-20 18:52:15 +00:00
Victor Vieux 0f507fb783 fix package name 2014-11-18 21:40:38 +00:00
Victor Vieux 216c2a7507 fix imports 2014-11-18 02:52:51 +00:00
Victor Vieux ed2db9a85b swarmd -> swarm
Signed-off-by: Victor Vieux <vieux@docker.com>
2014-11-18 00:57:05 +00:00
Victor Vieux b4f2216f22 use scheduler when removing container 2014-11-15 01:17:19 +00:00
Victor Vieux 60a80c0c84 add EventsListeners in docker info 2014-11-15 00:16:50 +00:00
Victor Vieux de6a1d9c1a events 2014-11-15 00:05:55 +00:00
Andrea Luzzardi c6af7ce445 Integrate the scheduler into the API.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-14 15:56:17 -08:00
Victor Vieux 23fa208ab9 cleanup docker info 2014-11-14 22:09:55 +00:00
Victor Vieux 6ccc94fa01 use private types 2014-11-14 00:40:36 +00:00
Victor Vieux 2a4635a1a5 allow future CORS 2014-11-14 00:37:03 +00:00
Victor Vieux 498543bfd2 replace print by log 2014-11-13 19:42:18 +00:00
Victor Vieux 39b83819aa append node ID to names 2014-11-13 02:52:00 +00:00
Victor Vieux 2aa28cf8a1 replace 0.0.0.0 by node IP 2014-11-13 02:42:13 +00:00
Victor Vieux 7cfc20a662 add pause/unpause 2014-11-13 02:07:20 +00:00
Andrea Luzzardi 56729ae150 API: docker start support.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-12 17:54:53 -08:00
Andrea Luzzardi cd7b9e571c API: Pass an HttpApiContext to every handler.
Instead of directly passing a cluster to every handler, pass a struct
the API owns. This makes adding additional data easier.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-12 17:52:05 -08:00
Victor Vieux 6d8ecbeff6 add basic remove 2014-11-12 01:56:08 +00:00
Victor Vieux 8f5f76ae41 add logrus 2014-11-12 01:37:01 +00:00
Victor Vieux 741f7adb56 add back inspect and the redirections 2014-11-11 21:41:13 +00:00
Victor Vieux fcb7bd97ad add info 2014-11-11 17:33:15 +00:00
Andrea Luzzardi 8390cc6ef7 API: Add support for ps.
Implemented simple support for docker ps. The only flag currently
handled is -a.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-10 16:27:28 -08:00
Andrea Luzzardi 05864a3b2a Initial commit.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-11-07 16:41:33 -08:00