Michael Crosby
393e873d25
Add Access-Control-Allow-Methods header
...
Add the Access-Control-Allow-Methods header so that
DELETE operations are allowed.
Also move the write CORS headers method before
docker writes a 404 not found so that the client
receives the correct response and not an invalid
CORS request.
2013-06-09 17:17:35 -09: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
10ef4f7f39
Merge pull request #797 from dotcloud/registry-fix-missing-body-close
...
registry.go: Fixed missing Body.Close()
2013-06-03 14:43:50 -07:00
Sam Alba
cff3b37a61
Disabled HTTP keep-alive in the default HTTP client for Registry calls
2013-06-03 14:42:21 -07:00
Guillaume J. Charmes
82dd963e08
Minor changes in registry.go
2013-06-03 12:20:52 -07: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
Solomon Hykes
a8ae398bf5
Bumped version to 0.4.0
2013-06-03 10:59:48 -07:00
Guillaume J. Charmes
7a4408f608
Merge pull request #794 from dotcloud/780-diff-fix2
...
- Runtime: remove TrimLeft as it's go1.1
2013-06-03 10:41:08 -07:00
Victor Vieux
854039b6ba
remove TrimLeft as it's go1.1
2013-06-03 17:25:51 +00:00
Guillaume J. Charmes
070923b14f
Merge pull request #792 from dotcloud/780-diff-fix
...
- Runtime: fix Path corruption in 'docker diff'
2013-06-03 10:06:25 -07:00
Victor Vieux
71b1657e8d
added test
2013-06-03 17:02:57 +00:00
Guillaume J. Charmes
1bafe9da26
Merge pull request #793 from dotcloud/774-remove_login_check_on_pull-fix
...
- Registry: remove login check on pull
2013-06-03 09:37:02 -07:00
Victor Vieux
1ce4ba6c9f
remove check on login
2013-06-03 15:33:29 +00:00
Guillaume J. Charmes
2b1b3c1270
Merge pull request #784 from dotcloud/remove_cgo_dependency
...
* Runtime: Remove cgo dependency
2013-06-03 07:03:17 -07:00
Guillaume J. Charmes
8243f2510e
Update test to reflect new ApiInfo struct
2013-06-03 06:44:00 -07: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
e16c93486d
fix Path corruption in 'docker diff'
2013-06-03 10:19:20 +00:00
Solomon Hykes
e42eb7fa8c
Meta: added Guillaume as primary maintainer for tty code
2013-06-02 23:42:18 -07:00
Solomon Hykes
cebfde9ea5
Merge pull request #787 from gasi/nodejs-centos-docs
...
* Documentation: Deploying a Node.js Web App on CentOS
* Documentation: small formatting improvements
2013-06-02 23:27:29 -07:00
Solomon Hykes
eff7a15bea
Merge pull request #785 from jweede/master
...
* Documentation: spelling correction in website
2013-06-02 23:14:09 -07:00
Daniel Gasienica
82dadc2005
Document installation of npm dependencies /ht @grigio
2013-06-02 20:10:22 -07:00
Guillaume J. Charmes
2d52d4d614
Merge pull request #789 from samjsharpe/fix-extra-brace
...
Removes a brace in the description of the wait command
2013-06-02 15:22:11 -07:00
Sam J Sharpe
ca5ae266b7
Removes a brace in the description of the wait command
2013-06-02 22:40:56 +01:00
Daniel Gasienica
464765b940
Add link at the beginning
2013-06-01 22:16:26 -07:00
Daniel Gasienica
e9ffc1e499
Add Node.js web app example using CentOS
2013-06-01 22:06:53 -07:00
Daniel Gasienica
4fb9a6eafb
Use code blocks
2013-06-01 22:03:41 -07:00
Daniel Gasienica
157547845a
Name examples consistently
2013-06-01 22:03:28 -07:00
Daniel Gasienica
2935ca7ee2
Use title case for consistency
2013-06-01 22:03:12 -07:00
Daniel Gasienica
23452f1573
Use em dash in title
2013-06-01 22:02:24 -07:00
Daniel Gasienica
f6f345b1fe
Fix typo
2013-06-01 21:55:01 -07:00
Daniel Gasienica
e3fd61ad74
Add more tags
2013-06-01 21:27:27 -07:00
Daniel Gasienica
01ce63aacd
Make style consistent
2013-06-01 21:26:58 -07:00
Daniel Gasienica
3ca9c11110
Add Mac OS X instructions for doc tools
2013-06-01 21:26:18 -07:00
Daniel Gasienica
b4df0b17af
Add make server
command to preview docs
2013-06-01 21:25:51 -07:00
Jon Wedaman
7f65bf508e
Spelling correction in docs
2013-06-01 21:48:32 -04:00
Guillaume J. Charmes
a70dd65964
Move Termios struct to os specific file
2013-06-01 16:19:50 -07:00
Guillaume J. Charmes
3cc0963ad1
Remove unused constants
2013-06-01 15:55:52 -07:00
Guillaume J. Charmes
31eb01ae8a
Use uintptr instead of int for Fd
2013-06-01 15:55:05 -07:00
Guillaume J. Charmes
64f346779f
Remove cgo from term
2013-06-01 15:51:45 -07:00
Guillaume J. Charmes
078a19d725
Merge pull request #777 from dotcloud/bsdtar-env
...
Pass a guaranteed environment to bsdtar for predictable behaviour
2013-06-01 11:28:55 -07:00
Solomon Hykes
561ceac55d
* Runtime: pass a guaranteed environment to bsdtar for predictable behavior without depending on the underlying host configuration.
2013-05-31 22:25:48 -07:00
Guillaume J. Charmes
a373c770b6
Merge pull request #707 from unclejack/411-add-arch-field
...
411 add architecture field
2013-05-31 17:26:11 -07:00
Solomon Hykes
90b8c5ce67
Merge pull request #762 from dotcloud/761-packaging-dockerbuilder
...
Packaging: Ensure dockerbuilder can build docker PPA
2013-05-31 16:28:44 -07: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
f41d2ec4d9
Update api docs
2013-05-31 15:56:30 -07:00
Guillaume J. Charmes
1dae7a25b9
Improve the docker version and docker info commands
2013-05-31 15:53:57 -07:00
Daniel Mizyrycki
926c1d45aa
Merge pull request #533 from tianon/mkimage-debian
...
Update mkimage-debian.sh now that wheezy is officially the stable release
MD: Ref issue #447
2013-05-31 14:53:37 -07:00
Guillaume J. Charmes
80b8756da3
Merge pull request #727 from dotcloud/remove_hijack_logs-feature
...
* API: remove hijack on the client in logs, and split stdout / stderr
2013-05-31 14:43:59 -07:00
Guillaume J. Charmes
7d167590bc
Merge pull request #766 from dotcloud/prevent_attach_stopped_container-feature
...
returns an error if the container we want to attach is not running
2013-05-31 14:41:57 -07:00
Solomon Hykes
76bb920449
Merge pull request #753 from dotcloud/registry_api_remove_teams
...
Remove teams from the registry API
2013-05-31 12:41:12 -07:00