Michael Crosby
19f2b9dadf
Add flag to enable cross domain requests in Api
...
Add the -api-enable-cors flag when running docker
in daemon mode to allow CORS requests to be made to
the Remote Api. The default value is false for this
flag to not allow cross origin request to be made.
Also added a handler for OPTIONS requests the standard
for cross domain requests is to initially make an
OPTIONS request to the api.
Upstream-commit: 6d5bdff3942ce5e030b2cbd1510f418de25a1a53
Component: engine
2013-06-03 21:39:00 -04:00
Sam Alba
a771e69314
Fixed missing Body.Close when doing some HTTP requests. It should improve some request issues.
...
Upstream-commit: 830c458fe761aca5ad2facec33b3d0798caab116
Component: engine
2013-06-03 12:14:57 -07:00
Guillaume J. Charmes
d1a021f5ce
Merge pull request #772 from dotcloud/improve_version_info_cmds
...
* API: Improve version info cmds
Upstream-commit: 0443cc351d1202063c79a4de5497878f9a9e674e
Component: engine
2013-06-03 06:36:09 -07:00
Guillaume J. Charmes
934fcbd514
Merge pull request #719 from dotcloud/json_stream-feature
...
* API: push, pull, import, insert -> Json Stream
Upstream-commit: 9bc71c101c8f1299427013bfb5503bf85173c28f
Component: engine
2013-05-31 16:05:15 -07:00
Guillaume J. Charmes
37b218faec
Improve the docker version and docker info commands
...
Upstream-commit: 1dae7a25b919dc70798cbab8107809690212cd69
Component: engine
2013-05-31 15:53:57 -07:00
Victor Vieux
3efe0a345b
returns an error if the container we want to attach is not running
...
Upstream-commit: 468e4c4b565d25b03c68ce2ab31f9a52f7b3398a
Component: engine
2013-05-31 15:34:23 +00:00
Victor Vieux
167d529e1c
ensure progress downloader is well formated
...
Upstream-commit: cd002a4d162aa273cd9e646e6fd124ef2b6f6944
Component: engine
2013-05-30 17:00:42 +00:00
Guillaume J. Charmes
f8799691fc
Merge pull request #739 from dotcloud/push_issue-1
...
- Registry: Cereate a new registry object for each request (~session)
Upstream-commit: 08e5f1295487f2c06639bc8ac97be35f30359534
Component: engine
2013-05-29 09:22:12 -07:00
Victor Vieux
06534c45f7
bump to master
...
Upstream-commit: f339fc2eb921986749a628b92d2c9f2ecf47e3c2
Component: engine
2013-05-29 13:52:18 +00:00
Guillaume J. Charmes
cbc5080648
Cereate a new registry object for each request (~session)
...
Upstream-commit: cd0de83917e775fcdcd3ce4e592b627b7eeeac64
Component: engine
2013-05-28 17:12:24 -07:00
Guillaume J. Charmes
20562fdb8c
Fix merge issue
...
Upstream-commit: a48799016a43e6badae72e855f9a90592b6cdd98
Component: engine
2013-05-28 13:46:52 -07:00
Guillaume J. Charmes
d21f15c6b9
Merge master
...
Upstream-commit: dce82bc85615ca09c999bc2186c2c9caf348dc33
Component: engine
2013-05-28 13:42:50 -07:00
Victor Vieux
037b9b6160
fix json encoding, and use less casts
...
Upstream-commit: 5a36efb61fae88a7fe71f67a6b1f8b9da6468014
Component: engine
2013-05-26 23:45:45 +00:00
Victor Vieux
b088e2de70
ensure valid json
...
Upstream-commit: 14212930e40439d0cfc635d56e084736867f9e30
Component: engine
2013-05-25 15:51:26 +00:00
Victor Vieux
04ca200a24
imporved error, push, import insert
...
Upstream-commit: c8c7094b2e8088210e2182e582264e09222c6e3d
Component: engine
2013-05-25 15:09:46 +00:00
Solomon Hykes
d6fea566f0
* Remote API: send push/pull progress bar as json
...
Upstream-commit: 9775f0bd145c607126ea22a17b291dea822be7b2
Component: engine
2013-05-24 17:59:27 -07:00
Victor Vieux
10117596bb
first version of Pull
...
Upstream-commit: 3c7bca7a215f9a44af4d6e026a6e8b230d808a83
Component: engine
2013-05-24 16:34:03 +00:00
Guillaume J. Charmes
767f8e7e9d
Add resize endpoint to api
...
Upstream-commit: 70d2123efda0e92760b96b03ce27cb4f1fb61cb3
Component: engine
2013-05-23 19:33:28 -07:00
Victor Vieux
4904dcf8ba
jsonstream WIP
...
Upstream-commit: cf35e8ed81029a3c2717659eac7979017bb01890
Component: engine
2013-05-23 15:16:35 +00:00
Guillaume J. Charmes
b0dbe9b6ac
Start moving the docker builder into the server
...
Upstream-commit: 0f135ad7f31df2952352feb9ef00863d61577467
Component: engine
2013-05-22 20:07:26 -07:00
Guillaume J. Charmes
e1a5e6c271
Fix an issue trying to pull specific tag
...
Upstream-commit: 49505c599b3a65196b6b6f746f4bfad3a417dd7a
Component: engine
2013-05-20 17:30:33 -07:00
Guillaume J. Charmes
3e19186e1e
Merge fix
...
Upstream-commit: 0d2fb295375ce74764b8d4cb2b03c19cd4e01cb4
Component: engine
2013-05-20 16:21:35 -07:00
Guillaume J. Charmes
d4d1d3980d
Tag all images after pulling them
...
Upstream-commit: d756ae4cb376e218ff4dd35a7b9a9fa346fbb04d
Component: engine
2013-05-20 15:19:05 -07:00
Guillaume J. Charmes
67c2cf9c02
Merge remove-hijack
...
Upstream-commit: 372d81c32593da877685851b9cb85c688c59b998
Component: engine
2013-05-20 11:07:34 -07:00
Guillaume J. Charmes
a82b37a1d2
Avoid cast each write for flusher
...
Upstream-commit: ae9d7a5167da58de9a1a4beac489cf1e6adcea11
Component: engine
2013-05-20 10:58:35 -07:00
Guillaume J. Charmes
73460590ba
Make the printflfush an interface
...
Upstream-commit: 98b0fd173b7b59316d776534b84ecc9ab0a1da77
Component: engine
2013-05-20 10:22:50 -07:00
Guillaume J. Charmes
ce120b932a
Move docker build to client
...
Upstream-commit: 0f312113d3ce37d57fb28eb98c8abcdcbfcd39a3
Component: engine
2013-05-19 10:46:24 -07:00
Victor Vieux
17d925e342
add flush after each write when needed
...
Upstream-commit: 0143be42a13b9f8082ceddc64a5e523e45f54d88
Component: engine
2013-05-18 14:03:53 +00:00
Guillaume J. Charmes
61648af5ac
- Registry: Fix issue preventing to pull specific tag
...
Upstream-commit: f498dd2a2b5128eca47517923d7e84238db0483c
Component: engine
2013-05-16 12:29:16 -07:00
Guillaume J. Charmes
3152a917ce
Remove hijack from api when not necessary
...
Upstream-commit: f29e5dc8a15d0ab8e9c6084e41ee373376051659
Component: engine
2013-05-16 12:09:06 -07:00
Guillaume J. Charmes
2d208e56c7
Move authConfig from runtime to registry
...
Upstream-commit: 95dd6d31a4c11618836f9a55fc3dbbde48450b09
Component: engine
2013-05-15 17:17:33 -07:00
Guillaume J. Charmes
6d65ac4800
Upload images only when necessary
...
Upstream-commit: dc9d6c1c1f52eefba95920059f0607d3d57b2d07
Component: engine
2013-05-15 13:22:57 -07:00
Guillaume J. Charmes
1fca87b8d9
Move httpClient within registry object
...
Upstream-commit: 97880a223e8d6e1ff4d6e40e46f6a006b24a66cc
Component: engine
2013-05-15 19:22:08 +00:00
Guillaume J. Charmes
abd1f66a7d
Remove stdout from registry
...
Upstream-commit: 398a6317a09679b65a59d529e78f5e7480e8de0b
Component: engine
2013-05-15 18:50:52 +00:00
Guillaume J. Charmes
7a9bb0ff86
Refactor registry Push
...
Upstream-commit: 49b61af1f8139f48c0f2ce6b8afa25c1716f7379
Component: engine
2013-05-15 18:30:40 +00:00
Guillaume J. Charmes
53358035af
Begin to implement push with new project structure
...
Upstream-commit: 828d1aa50769999ee50bbac893f4e9ef6d49f10c
Component: engine
2013-05-15 03:27:15 +00:00
Guillaume J. Charmes
88a9363cae
Split registry into subpackage
...
Upstream-commit: 9bb3dc9843f4ef565eb8f298eb7f542b5e1ac0dd
Component: engine
2013-05-15 01:41:39 +00:00
Guillaume J. Charmes
bc6fad489c
Create a subpackage for utils
...
Upstream-commit: 2e69e1727b4d5698a90c24c5800eecd5401dc319
Component: engine
2013-05-14 22:37:35 +00:00
Victor Vieux
fc6ad3f15e
add -notrunc on docker images
...
Upstream-commit: e82ff22fae096e64e9ec0f621a532eaa62b40deb
Component: engine
2013-05-13 12:26:18 +02:00
Victor Vieux
ad78d7afdf
removed only_ids and trunc_cmd from the api
...
Upstream-commit: 1990c49a6235530a3ddedc00db3aa38acf93a9c5
Component: engine
2013-05-13 12:18:55 +02:00
odk-
603152d01a
full container.Id display when notrunc is used
...
Upstream-commit: 82313b1de9041896e33ddd8fab63924fb7bdebc3
Component: engine
2013-05-10 10:18:01 +02:00
Guillaume J. Charmes
b1cb259eb1
Reduce the Destroy timeout from 10 to 3 seconds
...
Upstream-commit: 28fd289b448164b77affd8103c0d96fd8110daf9
Component: engine
2013-05-09 21:53:59 -07:00
Guillaume J. Charmes
fe9bc15b8d
Rename "v" in "removeVolume"
...
Upstream-commit: 0c6380cc3237ac9eb1947223479ee13253d04287
Component: engine
2013-05-09 19:19:55 -07:00
Guillaume J. Charmes
725fad8955
Change API route for containers/ and images/ in order to avoid conflict
...
Upstream-commit: 152ebeea4327c3240e211b96b5858063f0ee468b
Component: engine
2013-05-09 17:50:56 -07:00
Victor Vieux
80a3506fc7
removed hijack on viz
...
Upstream-commit: 0ecf5e245dac26a81fa51a189419df29ccefc79a
Component: engine
2013-05-09 23:10:26 +02:00
Victor Vieux
b2dbee934e
bump to master
...
Upstream-commit: fc29f01528ef99b88734bee252cc0af05675885e
Component: engine
2013-05-09 02:20:16 +02:00
Victor Vieux
851c893ba0
added pagination on ps
...
Upstream-commit: bc3fa506e93c3e54078b9e62f5466bf4a1048704
Component: engine
2013-05-08 18:28:11 +02:00
Victor Vieux
da521d1f37
remove useless port endpoint
...
Upstream-commit: 075e1ebb0e835c3591059131bec6dedaf042e227
Component: engine
2013-05-08 18:06:43 +02:00
Victor Vieux
ca0d93350a
changes 2 endpoints to avoid confusion, changed some parameters, fix doc, add api unit tests
...
Upstream-commit: 60ddcaa15d61c75bec78edeb72999daa7077dd0e
Component: engine
2013-05-08 17:35:50 +02:00
Guillaume J. Charmes
44877f5bf7
Fix non exiting client issue
...
Upstream-commit: cacc7e564acfcb7c28c2526e29714057fe793b2a
Component: engine
2013-05-07 23:32:17 -07:00