Eric Myhre
e44f62a95c
Add argument to allow setting base directory for docker daemon's storage to values other than "/var/lib/docker".
2013-06-20 16:29:54 -05:00
Guillaume J. Charmes
21a5a6202d
Merge pull request #907 from dotcloud/go1.1_cookie_jar-feature
...
* Runtime: use go 1.1 cookiejar and remove ResetClient
2013-06-20 10:48:36 -07:00
Victor Vieux
1c841d4fee
add warning when you rm a running container
2013-06-20 15:45:30 +00:00
Victor Vieux
bd04d7d475
add ps -s
2013-06-20 14:19:50 +00:00
Victor Vieux
5f93aa0ecf
rebase master
2013-06-20 13:56:36 +00:00
Solomon Hykes
8a131dffb6
Merge pull request #948 from dotcloud/registry_pathencode
...
* Registry: Use opaque requests when we need to preserve urlencoding in registry requests
2013-06-19 22:41:16 -07:00
Guillaume J. Charmes
7e065aaacd
Merge pull request #917 from dotcloud/pull_pool
...
- Runtime: Forbid parralel push/pull for a single image/repo. Fixes #311
2013-06-19 14:11:29 -07:00
shin-
0312bbc535
Use opaque requests when we need to preserve urlencoding in registry requests
2013-06-19 13:49:45 -07:00
Victor Vieux
ec3c89e57c
Merge pull request #849 from dotcloud/improve_progressbar_pull
...
* Client: HumanReadable ProgressBar sizes in pull
2013-06-19 08:02:40 -07:00
Guillaume J. Charmes
0a9ac63a05
Merge pull request #916 from dotcloud/race_attach-fix
...
- Runtime: Fix race condition within Run command when attaching.
2013-06-18 17:13:38 -07:00
Guillaume J. Charmes
808faa6371
* API: Send all tags on History API call
2013-06-18 10:31:07 -07:00
Guillaume J. Charmes
3bfc822578
* API: Add tag lookup to history command. Fixes #882
2013-06-17 18:39:30 -07:00
Guillaume J. Charmes
fe204e6f48
- Runtime: Forbid parralel push/pull for a single image/repo. Fixes #311
2013-06-17 16:10:00 -07:00
Guillaume J. Charmes
c106ed32ea
Move the attach prevention from server to client
2013-06-17 15:40:04 -07:00
Victor Vieux
fde82f448f
use go 1.1 cookiejar and revome ResetClient
2013-06-17 18:13:40 +00:00
Solomon Hykes
17235eb089
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-14 15:07:05 -07:00
Solomon Hykes
250e47e2eb
Merge branch 'dns_server_side'
...
+ Configure dns configuration host-wide with 'docker -d -dns'
+ Detect faulty DNS configuration and replace it with a public default
2013-06-14 14:39:05 -07:00
Guillaume J. Charmes
813771e6b7
Merge pull request #892 from unclejack/validate_memory_limits
...
* Runtime: validate memory limits & error out if it's less than 524288
2013-06-14 14:32:28 -07:00
Guillaume J. Charmes
60fd7d686d
Merge branch 'master' into improve_progressbar_pull
2013-06-14 12:01:40 -07:00
Solomon Hykes
c701de939f
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-14 11:58:46 -07:00
Guillaume J. Charmes
78e4a385f7
Merge branch 'master' into postupload-endpoints-header
...
Conflicts:
server.go
2013-06-14 11:50:58 -07:00
unclejack
9ee11161bf
validate memory limits & error out if less than 512 KB
2013-06-14 19:52:44 +03:00
Victor Vieux
ddf5a1940f
Merge branch 'master' into 22-add_sizes_images_and_containers-feature
2013-06-14 10:05:06 +00:00
Victor Vieux
00cf2a1fa2
fix virtual size on images
2013-06-14 10:05:01 +00:00
Victor Vieux
c46382ba29
rebase master
2013-06-13 17:58:06 +00:00
Solomon Hykes
5ecfe13be9
Merge branch '610-improve_rmi-feature'
...
* Runtime: improved image removal to garbage-collect unreferenced parents
- Runtime: fixed image removal to cleanly remove tags and repositories
2013-06-12 20:30:07 -07:00
Victor Vieux
f2383151cb
bump to master
2013-06-12 17:39:32 +00:00
Guillaume J. Charmes
3491df6edb
Merge pull request #852 from dotcloud/556-docker-search-fmt
...
Remove CR/NL from description in docker CLI
2013-06-12 10:17:05 -07:00
Victor Vieux
20bf0e00e8
* Remote Api: Add flag to enable cross domain requests
2013-06-11 10:12:36 +00:00
Victor Vieux
66d9a73362
rebump
2013-06-10 21:05:54 +00:00
shin-
d227af1edd
Escape remote names on repo push/pull
2013-06-10 11:28:27 -07:00
shin-
4e18010731
Support for special namespace 'src' (highland support)
2013-06-10 11:28:26 -07:00
shin-
db3242e4bb
Send X-Docker-Endpoints header when validating the images upload with the index at the end of a push
2013-06-10 11:21:56 -07:00
shin-
8d4282cd36
Remove CR/NL from description in docker CLI. Also moved description shortening to the client
2013-06-07 06:09:24 -07:00
Guillaume J. Charmes
f355d33b5f
Make the progressbar take the image size into consideration
2013-06-06 18:16:16 -07:00
Guillaume J. Charmes
84d68007cb
Add -dns to docker daemon
2013-06-05 14:20:54 -07:00
Victor Vieux
bf63cb9045
bump to master again
2013-06-05 16:01:36 +00:00
Victor Vieux
ce0041832c
bump to master
2013-06-05 15:30:45 +00:00
Victor Vieux
c906239220
bump to master
2013-06-05 10:23:45 +00:00
Victor Vieux
b4682e6707
bump to master
2013-06-05 10:19:51 +00:00
Victor Vieux
fd224ee590
linted names
2013-06-04 18:00:22 +00:00
Victor Vieux
3922691fb9
fix progress message in client
2013-06-04 16:09:08 +00:00
Victor Vieux
b6825f98c0
bump to master
2013-06-04 14:00:18 +00:00
Victor Vieux
86ada2fa5d
drop/omit
2013-06-04 13:51:12 +00:00
Michael Crosby
6d5bdff394
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.
2013-06-03 21:39:00 -04:00
Sam Alba
830c458fe7
Fixed missing Body.Close when doing some HTTP requests. It should improve some request issues.
2013-06-03 12:14:57 -07:00
Victor Vieux
7e59b83053
removed auth in pull
2013-06-03 17:51:52 +00:00
Guillaume J. Charmes
0443cc351d
Merge pull request #772 from dotcloud/improve_version_info_cmds
...
* API: Improve version info cmds
2013-06-03 06:36:09 -07:00
Victor Vieux
ca902b6be4
bump master
2013-06-03 12:37:51 +00:00
Victor Vieux
844a8db6c6
add debug
2013-06-03 12:21:22 +00:00
Victor Vieux
62c78696cd
bump to master
2013-06-03 11:06:13 +00:00
Guillaume J. Charmes
9bc71c101c
Merge pull request #719 from dotcloud/json_stream-feature
...
* API: push, pull, import, insert -> Json Stream
2013-05-31 16:05:15 -07:00
Guillaume J. Charmes
1dae7a25b9
Improve the docker version and docker info commands
2013-05-31 15:53:57 -07:00
Victor Vieux
468e4c4b56
returns an error if the container we want to attach is not running
2013-05-31 15:34:23 +00:00
Victor Vieux
9060b5c2f5
added proper returns type, move the auto-prune in v1.1 api
2013-05-31 14:37:02 +00:00
Victor Vieux
3afdd82e42
bump to master
2013-05-30 23:38:40 +00:00
Victor Vieux
5aa95b667c
WIP needs to fix HTTP error codes
2013-05-30 22:53:45 +00:00
Guillaume J. Charmes
054451fd19
NON-WORKING: Beginning of rmi refactor
2013-05-30 12:30:21 -07:00
Victor Vieux
cd002a4d16
ensure progress downloader is well formated
2013-05-30 17:00:42 +00:00
Victor Vieux
49e656839f
move auth to the client WIP
2013-05-30 15:39:43 +00:00
Victor Vieux
7e92302c4f
auto prune WIP
2013-05-29 17:27:32 +00:00
Victor Vieux
94f0d478de
refacto
2013-05-29 17:01:54 +00:00
Victor Vieux
2eb4e2a0b8
removed the -f
2013-05-29 16:31:47 +00:00
Guillaume J. Charmes
08e5f12954
Merge pull request #739 from dotcloud/push_issue-1
...
- Registry: Cereate a new registry object for each request (~session)
2013-05-29 09:22:12 -07:00
Victor Vieux
f339fc2eb9
bump to master
2013-05-29 13:52:18 +00:00
Victor Vieux
ea9095c562
merge master
2013-05-29 11:49:39 +00:00
Guillaume J. Charmes
cd0de83917
Cereate a new registry object for each request (~session)
2013-05-28 17:12:24 -07:00
Guillaume J. Charmes
a48799016a
Fix merge issue
2013-05-28 13:46:52 -07:00
Guillaume J. Charmes
dce82bc856
Merge master
2013-05-28 13:42:50 -07:00
Victor Vieux
5a36efb61f
fix json encoding, and use less casts
2013-05-26 23:45:45 +00:00
Victor Vieux
14212930e4
ensure valid json
2013-05-25 15:51:26 +00:00
Victor Vieux
c8c7094b2e
imporved error, push, import insert
2013-05-25 15:09:46 +00:00
Solomon Hykes
9775f0bd14
* Remote API: send push/pull progress bar as json
2013-05-24 17:59:27 -07:00
Victor Vieux
3c7bca7a21
first version of Pull
2013-05-24 16:34:03 +00:00
Guillaume J. Charmes
70d2123efd
Add resize endpoint to api
2013-05-23 19:33:28 -07:00
Victor Vieux
cf35e8ed81
jsonstream WIP
2013-05-23 15:16:35 +00:00
Guillaume J. Charmes
0f135ad7f3
Start moving the docker builder into the server
2013-05-22 20:07:26 -07:00
Victor Vieux
6fce89e60b
bump to master
2013-05-22 13:41:29 +00:00
Guillaume J. Charmes
49505c599b
Fix an issue trying to pull specific tag
2013-05-20 17:30:33 -07:00
Guillaume J. Charmes
0d2fb29537
Merge fix
2013-05-20 16:21:35 -07:00
Guillaume J. Charmes
d756ae4cb3
Tag all images after pulling them
2013-05-20 15:19:05 -07:00
Victor Vieux
67b20f2c8c
add check to see if the image isn't parent of another and add -f to force
2013-05-20 18:31:45 +00:00
Guillaume J. Charmes
372d81c325
Merge remove-hijack
2013-05-20 11:07:34 -07:00
Guillaume J. Charmes
ae9d7a5167
Avoid cast each write for flusher
2013-05-20 10:58:35 -07:00
Guillaume J. Charmes
98b0fd173b
Make the printflfush an interface
2013-05-20 10:22:50 -07:00
Guillaume J. Charmes
0f312113d3
Move docker build to client
2013-05-19 10:46:24 -07:00
Victor Vieux
6102552d61
Merge branch 'master' into 610-improve_rmi-feature
2013-05-18 14:29:37 +00:00
Victor Vieux
d7673274d2
check if the image to delete isn't parent of another
2013-05-18 14:29:32 +00:00
Victor Vieux
0143be42a1
add flush after each write when needed
2013-05-18 14:03:53 +00:00
Victor Vieux
f01990aad2
fix
2013-05-17 17:57:44 +00:00
Guillaume J. Charmes
f498dd2a2b
- Registry: Fix issue preventing to pull specific tag
2013-05-16 12:29:16 -07:00
Guillaume J. Charmes
f29e5dc8a1
Remove hijack from api when not necessary
2013-05-16 12:09:06 -07:00
Guillaume J. Charmes
db1e965b65
Merge fixes + cleanup
2013-05-16 11:27:50 -07:00
Guillaume J. Charmes
2ae8aaa106
Merge branch 'master' into 610-improve_rmi-feature
2013-05-16 11:15:16 -07:00
Guillaume J. Charmes
95dd6d31a4
Move authConfig from runtime to registry
2013-05-15 17:17:33 -07:00
Guillaume J. Charmes
dc9d6c1c1f
Upload images only when necessary
2013-05-15 13:22:57 -07:00
Guillaume J. Charmes
97880a223e
Move httpClient within registry object
2013-05-15 19:22:08 +00:00
Guillaume J. Charmes
398a6317a0
Remove stdout from registry
2013-05-15 18:50:52 +00:00
Guillaume J. Charmes
49b61af1f8
Refactor registry Push
2013-05-15 18:30:40 +00:00
Victor Vieux
c80448c4d1
improve rmi
2013-05-15 13:51:50 +00:00
Guillaume J. Charmes
828d1aa507
Begin to implement push with new project structure
2013-05-15 03:27:15 +00:00
Guillaume J. Charmes
9bb3dc9843
Split registry into subpackage
2013-05-15 01:41:39 +00:00
Guillaume J. Charmes
2e69e1727b
Create a subpackage for utils
2013-05-14 22:37:35 +00:00
Victor Vieux
a91b710961
add sizes in images and containers
2013-05-13 15:14:20 +02:00
Victor Vieux
e82ff22fae
add -notrunc on docker images
2013-05-13 12:26:18 +02:00
Victor Vieux
1990c49a62
removed only_ids and trunc_cmd from the api
2013-05-13 12:18:55 +02:00
odk-
82313b1de9
full container.Id display when notrunc is used
2013-05-10 10:18:01 +02:00
Guillaume J. Charmes
28fd289b44
Reduce the Destroy timeout from 10 to 3 seconds
2013-05-09 21:53:59 -07:00
Guillaume J. Charmes
0c6380cc32
Rename "v" in "removeVolume"
2013-05-09 19:19:55 -07:00
Guillaume J. Charmes
152ebeea43
Change API route for containers/ and images/ in order to avoid conflict
2013-05-09 17:50:56 -07:00
Victor Vieux
0ecf5e245d
removed hijack on viz
2013-05-09 23:10:26 +02:00
Victor Vieux
fc29f01528
bump to master
2013-05-09 02:20:16 +02:00
Victor Vieux
bc3fa506e9
added pagination on ps
2013-05-08 18:28:11 +02:00
Victor Vieux
075e1ebb0e
remove useless port endpoint
2013-05-08 18:06:43 +02:00
Victor Vieux
60ddcaa15d
changes 2 endpoints to avoid confusion, changed some parameters, fix doc, add api unit tests
2013-05-08 17:35:50 +02:00
Guillaume J. Charmes
cacc7e564a
Fix non exiting client issue
2013-05-07 23:32:17 -07:00
Guillaume J. Charmes
57cfe72e8c
Replace os.File with io.ReadCloser and io.Writer
2013-05-07 18:06:49 -07:00
Guillaume J. Charmes
ab96da8eb2
Use bool instead of string for flags
2013-05-07 16:47:43 -07:00
Guillaume J. Charmes
279db68b46
Use Fprintf instead of Fprintln
2013-05-07 16:36:49 -07:00
Guillaume J. Charmes
b56b2da5c5
Refactor api.go to use a factory with named functions
2013-05-07 16:33:12 -07:00
Victor Vieux
a0880edc63
removed useless buffered pipe in import
2013-05-07 23:56:45 +02:00
Victor Vieux
4d30a32c68
removed RAW mode on server
2013-05-07 23:15:42 +02:00
Victor Vieux
4079411375
fix run no parameter
2013-05-07 20:59:04 +02:00
Victor Vieux
59a6316f5e
added search
2013-05-07 20:43:31 +02:00
Victor Vieux
10c0e99037
update to master
2013-05-07 19:23:50 +02:00
Victor Vieux
f37399d22b
added login and push
2013-05-06 13:34:31 +02:00
Victor Vieux
6f9b574f25
bump to 0.2.2
2013-05-06 11:53:00 +02:00
Victor Vieux
04cd20fa62
split api and server. run return exit code. import, pull and commit uses the smae endpoint. non zero status code on failure
2013-05-06 11:31:22 +02:00