Commit Graph
3869 Commits
Author SHA1 Message Date
Michael Crosby 2a5d2430af Bump to version 0.6.5
Upstream-commit: da054148dc17c869c6b7958d48d3abc9fe1cdcf9
Component: engine
2013-10-29 14:42:20 -07:00
Michael Crosby 5062e93d35 Merge branch 'master' into bump_0.6.5
Upstream-commit: 0174951195b6d02e226cb709040d3b3beb2312fd
Component: engine
2013-10-29 14:41:47 -07:00
Michael Crosby 3d88facaa2 Merge pull request #2426 from dotcloud/enable_sigproxy_default
Enable sig-proxy by default in run and attach
Upstream-commit: caa7cf14c009d8a8341423c981801512a74b9204
Component: engine
2013-10-29 14:39:17 -07:00
Victor Vieux a59c312632 stop proxy at one point
Upstream-commit: 700a71e6b62a3786d11719ae30cacd0f90930525
Component: engine
2013-10-29 14:29:01 -07:00
Andy Rothfusz 82ec27b71b Merge pull request #2429 from SvenDowideit/add-more-doc-pointers
tell potential doc updaters and contributors more details
Upstream-commit: 02e0fdee5788c6fe51136d991f8d6af3f8491ea4
Component: engine
2013-10-29 14:07:12 -07:00
Andy Rothfusz 9ea897f40d Merge pull request #2443 from tlunter/fix_remote_api_doc
Container commit doesn't use a query parameter, uses POST body
Upstream-commit: baf23d3c3e91eaa721e817e236b2f25f17d6786a
Component: engine
2013-10-29 14:04:22 -07:00
Michael Crosby 5396145023 Merge pull request #2449 from tianon/remove-stackbrew-remnants
Remove old remnants of stackbrew now that it's a separate project
Upstream-commit: 5b75aea704e2c89285eaccf6e9f080c5c6dae7a1
Component: engine
2013-10-29 14:00:33 -07:00
Michael Crosby d5914d940b Merge pull request #2448 from keeb/fix-dsfg-readme
Fix export clause in readme
Upstream-commit: d91e1453320dd8ff37f133b530e372c5b9bc1ec9
Component: engine
2013-10-29 13:44:03 -07:00
Michael Crosby 1d9a962b55 Merge pull request #2451 from tianon/clarify-go-requirement
Clarify Go 1.2rc2 / Go 1.1.2 requirements in hack/PACKAGERS.md
Upstream-commit: 1384db5e7f756b759406b0a060129b6766c5ba2c
Component: engine
2013-10-29 13:41:01 -07:00
Tianon Gravi 0c26d0cb6e Clarify Go 1.2rc2 / Go 1.1.2 requirements in hack/PACKAGERS.md
Upstream-commit: ff147707b2382cc3d9f09fc09b306d4c50a39dfd
Component: engine
2013-10-29 13:41:26 -06:00
Tianon Gravi cf0e412552 Merge pull request #2433 from tianon/sqlite-dep
Add SQLite dep to hack/PACKAGERS.md
Upstream-commit: 05430c7170f0e0f7a9ad6905645b6f7c657b63c5
Component: engine
2013-10-29 12:27:26 -07:00
Tianon Gravi f52dcf1ee3 Remove old remnants of stackbrew now that it's a separate project
Upstream-commit: eb79e8c5dd71a70c3d8567a4f3d437a2cd0a5d9c
Component: engine
2013-10-29 13:14:15 -06:00
Nick Stinemates 7c934a531c Fix export clause
This makes our clause DSFG acceptable.
Upstream-commit: b48fc9657976091ff3833d340877aa5b761e3969
Component: engine
2013-10-29 12:06:48 -07:00
Victor Vieux c452ed1a32 Enable sig-proxy by default in run and attach
Upstream-commit: e0b59ab52b87b8fc15dd5534c3231fdd74843f9f
Component: engine
2013-10-29 11:18:34 -07:00
Michael Crosby e50eb03692 Merge pull request #2431 from relateiq/2430-links-ip-env
Expose addr, port, proto env variables when linking, Closes #2430
Upstream-commit: a6a274f31273c635d6201381456fbc190bf774cd
Component: engine
2013-10-29 11:02:46 -07:00
Todd Lunter 72fb377123 Update all older docs too
Upstream-commit: 4f5790d10407e143f9d42a75eb4800cfe3f49263
Component: engine
2013-10-29 13:57:42 -04:00
Todd Lunter a7c955ab40 Doesn't use a query parameter, uses POST body
Upstream-commit: 70c976de03ae5b83952e7ddfadfc75e358c5bbef
Component: engine
2013-10-29 10:17:12 -04:00
Julien Barbier 408a81a283 Updated dotCloud,Inc. to Docker, Inc.
Upstream-commit: 4947f61c2038ea3687d308782578bfdc9cec7c5c
Component: engine
2013-10-29 06:11:36 -07:00
Scott Bessler 39bb284f54 Expose IP, port, proto as sep. env vars when linking, Closes #2430
Upstream-commit: 1de23f1b81956bc04ba047d066ff7d84d9162910
Component: engine
2013-10-28 23:02:28 -07:00
Tianon Gravi dd841b9500 Add SQLite dep to hack/PACKAGERS.md and clean up a few other tiny inconsistencies
Upstream-commit: b283900764eac4947dc3239ced56e1c74e98809d
Component: engine
2013-10-28 21:57:20 -06:00
Sven Dowideit ed387ea493 docker stop sends SIGTERM and SIGKILL, docker kill sends SIGKILL
Upstream-commit: 82f15148955124c20cb756502036c4f231e5a8aa
Component: engine
2013-10-29 13:37:43 +10:00
Sven Dowideit 5d5ae2293c add links to the Dockerfiles as canonical external requirements, add example of building and exposing the docs and simplify the Dockerfile for cacheability
Upstream-commit: e47f9984f8a2a250c980dd9325f6ac24a55093ed
Component: engine
2013-10-29 12:58:58 +10:00
Michael Crosby c2ea5a00ce Merge pull request #2162 from dotcloud/links
Links and Container Naming
Upstream-commit: b038b0cd44e152fa4158f2bfe145de6d774dd8d0
Component: engine
2013-10-28 19:24:10 -07:00
Michael Crosby e141889857 Make sure only links are removed and not names
Upstream-commit: 7e8b2c3836fffcd1e69edfbd8873c461bda419c7
Component: engine
2013-10-28 19:19:31 -07:00
Dan Hirsch 77b94a8b61 Make /events API send headers immediately
Go's net/http API does not send headers until the first call to
ResponseWriter.Write().  Ordinarily, this is fine, because in most
cases, responses are returned immediately.  However, for the events
API, nothing is written until some event is sent, which causes
timeouts and/or hangs in some HTTP client APIs, which wait for headers
before returning from the "make request" call.
Upstream-commit: dd9f4524d1a829a394f5d96da0c1e6338c476019
Component: engine
2013-10-28 21:39:21 -04:00
Michael Crosby 75d19f9015 Merge pull request #2425 from dotcloud/links-allow-name
Add -name for docker run
Upstream-commit: a52e23c5e42b535180f65c0b9b1d22b6b5912136
Component: engine
2013-10-28 18:16:06 -07:00
Michael Crosby 7ce1e20657 Add -name for docker run
Remove docker link
Do not add container id as default name
Create an auto generated container name if not
specified at runtime.
Upstream-commit: 0d2924408bad7aa797bfaf0610e836d82928296f
Component: engine
2013-10-28 18:09:08 -07:00
Andy Rothfusz 7cf7b53ad1 Merge pull request #2421 from dudebout/patch-1
Fixes the flags for nc in example
Upstream-commit: 76afb6e73d70b98654018c51ab9f587336b056ec
Component: engine
2013-10-28 17:01:53 -07:00
Victor Vieux 3f3e5ad41c Merge pull request #2422 from dotcloud/links_names_generator
Add name generator for container without -name
Upstream-commit: c0662488c75096c94411be370010ae6a0230be8d
Component: engine
2013-10-28 15:34:16 -07:00
Victor Vieux fb40e688f3 add name generator
Upstream-commit: 971cf56d89ac9cc4959800bdfaadb69ba2cdd06a
Component: engine
2013-10-28 15:19:52 -07:00
Nicolas Dudebout 43f9ad0fc4 Fixes the flags for nc
The `-p` flag for `nc` should not be used with `-l`.
Upstream-commit: 50bb4a1636ea84d90700c2dce308670c9715d378
Component: engine
2013-10-28 15:48:18 -04:00
Andy Rothfusz a4dd698ace Merge pull request #2413 from rutsky/patch-1
Fix typo
Upstream-commit: 3c0c75bbf9ddd335439d40139358f46fd9532fc7
Component: engine
2013-10-28 12:08:04 -07:00
Andy Rothfusz 23674faf18 Merge pull request #2417 from rutsky/patch-2
fix typo
Upstream-commit: 7f95c7aeecb1d6c595c2897053a91b4730ff5a16
Component: engine
2013-10-28 12:07:46 -07:00
Vladimir Rutsky e13ba798d9 fix typo
Upstream-commit: 395a24ffd5a34f2fe1e5d7b7b5ee6c7825f51581
Component: engine
2013-10-28 09:35:09 +03:00
Vladimir Rutsky b9f7264616 Fix typo
Upstream-commit: 45d94944f3afe32d04eb31faa0cd9a129383f42c
Component: engine
2013-10-28 02:45:12 +03:00
Solomon Hykes 1ae36ff617 Engine: Engine.Job() never fails, to mimic the os/exec API (and make usage less verbose)
Upstream-commit: a13241d370bb9862acdefbc7dbb1e338d9552eaa
Component: engine
2013-10-26 17:49:16 -07:00
Solomon Hykes f33d33af85 Engine: cleanly log the start and end of each engine job
Upstream-commit: e8491ae54cad1e7d8aaffdae84f81d3c6c8e377a
Component: engine
2013-10-26 17:17:45 -07:00
Solomon Hykes b744ea13a4 Close sqlite persistent connection on SIGINT, SITERM or SIGKILL
Upstream-commit: 464ded79fcd46dbdf8859811912a244006626e86
Component: engine
2013-10-26 14:28:53 -07:00
Solomon Hykes ae44c03557 Setup daemon pidfile/cleanup in Server.Daemon() instead of main()
Upstream-commit: c1ae1a0e1cfae1aed681add5b1cb1c39e2c0e929
Component: engine
2013-10-26 14:26:07 -07:00
Solomon Hykes 8363dd13c7 Rename ConfigGetenv to ConfigFromJob
Upstream-commit: c542b2f873f181d7cb3127b4700a01bd62f43fbf
Component: engine
2013-10-26 14:24:25 -07:00
Solomon Hykes b6319ac31a Rename 'GraphPath' to the more logical 'Root'. This does not affect users except for a slight text change in the usage messge
Upstream-commit: 7e691e11b033f35fe823fbc6dcb40decd584696d
Component: engine
2013-10-26 14:24:13 -07:00
Solomon Hykes ff1fcc1bf9 Engine: centralize checks for supported architectures and kernel versions
Upstream-commit: 1b8eef4efbdd308f0dff0ae063ea49c0f4142888
Component: engine
2013-10-26 14:21:04 -07:00
Solomon Hykes e490910840 Engine: basic testing harness
Upstream-commit: 2a29bf624536c9daed25966dcaf80d840d0972c3
Component: engine
2013-10-26 14:18:28 -07:00
Solomon Hykes 2bbe323db0 Minimal, unintrusive implementation of a cleaner Job API.
* Implement a new package: engine. It exposes a useful but minimalist job API.
* Refactor main() to instanciate an Engine instead of a Server directly.
* Refactor server.go to register an engine job.

This is the smallest possible refactor which can include the new Engine design
into master. More gradual refactoring will follow.
Upstream-commit: 0d1a825137448e2f41e5aaa5ecae8094c8ab6817
Component: engine
2013-10-26 14:18:13 -07:00
Solomon Hykes af06b61d36 Fix build on darwin
Upstream-commit: 60b97576cfc2e43bfc5d09fa8ea2b71777d1f2b3
Component: engine
2013-10-26 14:14:50 -07:00
Victor Vieux 2e851f5035 Merge pull request #2400 from dotcloud/remove_newline_debugf
Removes \n from debugf calls
Upstream-commit: 54d3b4dd28305e5a28e3339547ad465f257bad66
Component: engine
2013-10-25 18:01:19 -07:00
Victor Vieux f817417133 Removes \\n from debugf calls
Upstream-commit: 8f39f0b57da8d06386ff915511ee4d5dd55352f6
Component: engine
2013-10-25 17:50:40 -07:00
Victor Vieux 95fff601cd fix docker ps display
Upstream-commit: d5c7e92a9a8ba65e1b2aad0f21393e8986d03d55
Component: engine
2013-10-25 17:36:23 -07:00
Michael Crosby 6a3f6b7b09 Merge pull request #2399 from dotcloud/fix_race_stdin_cli
Only pass stdin to hijack when needed
Upstream-commit: 110b944f45ed1e1b3d4a14e2eb785c70b62800fc
Component: engine
2013-10-25 17:32:36 -07:00
Victor Vieux 98b1505702 only pass stdin to hijack when needed
Upstream-commit: 13c521526ddc88e2502d9fe331faef51fe747cd2
Component: engine
2013-10-25 17:17:33 -07:00