Commit Graph

4815 Commits

Author SHA1 Message Date
4e6bccd97f Merge pull request #2921 from dustin/inspect-format
Add -format to 'docker inspect'
Upstream-commit: 4fdc117ad2d5f9b212ac567db1e0e514016880d7
Component: engine
2013-12-02 12:08:15 -08:00
4ad49ae63e Merge pull request #2924 from tianon/strict-fhs-compatibility
Add proper dockerinit path support for distros that use FHS 2.3
Upstream-commit: 8cc524996a0d29a5b11a14ef17950193d45c1e05
Component: engine
2013-12-02 11:35:36 -08:00
0d9d61008f Merge pull request #2995 from gurjeet/zfs_driver_owner
Add contrb/zfs/ and add self as maintainer of ZFS storage driver.
Upstream-commit: d9fbdd7b3f8e1507ed6f08ed99fab4d983108719
Component: engine
2013-12-02 11:10:16 -08:00
56e5aafa16 CLI docs and examples of format
Upstream-commit: 4ad3dfb05f1932793cae5c8047a89660747b95b4
Component: engine
2013-12-02 11:07:41 -08:00
b0a3ce1eef Use inspect format to get IP address for psql example
Upstream-commit: 1d503be4660667a27b42f7bf0c089404cabd2c9c
Component: engine
2013-12-02 11:07:41 -08:00
c86bbee38a Add -format to 'docker inspect'
This makes it a lot easier to script with docker instances as one can
ask for details about running instances more easily without having to
have additional JSON processing tools installed.

dotcloud/docker#734
Upstream-commit: 9837ad8e9b96b118e8d004e773a05ff9dd208b48
Component: engine
2013-12-02 11:07:41 -08:00
8b06459645 Add contrb/zfs/ and add self as maintainer of ZFS storage driver.
Upstream-commit: 70b586702cb1715d4ff4dd7ffe356285df73b18e
Component: engine
2013-12-02 14:03:16 -05:00
128e1b30b4 Merge pull request #2728 from SvenDowideit/docker-import-doc
re-word the help for docker import to make it clear that this will be an empty image containing only the files in the tar file
Upstream-commit: 4b35c1b6a6167a0dce11cd748c94598199dce942
Component: engine
2013-12-02 10:59:15 -08:00
26b3fb6752 Merge pull request #2829 from dotcloud/refactor_opts
Refactor opts
Upstream-commit: fe571dd29328efe5f5318c0b146d0aa5a66217a2
Component: engine
2013-12-02 10:41:30 -08:00
92e4ac1dc3 Merge pull request #2945 from dotcloud/refactor_stream
Refactor stream
Upstream-commit: e1414a4c3999362c97ad66ed1dd9cd64678df9af
Component: engine
2013-12-02 10:31:09 -08:00
3b9e303902 Merge pull request #2994 from discordianfish/1150-build-return-exit-code
Bump api version and update docs
Upstream-commit: d4ebba703c5d1f59f40469bd8afaecb514f1613c
Component: engine
2013-12-02 10:30:46 -08:00
fe4ba516d1 Bump api version and update docs
Upstream-commit: e4cb83c50e554bfd8ae3e0a1f2be4f0fb661861d
Component: engine
2013-12-02 19:27:28 +01:00
63272cdce4 Merge pull request #2981 from tianon/less-verbose-testing
Remove "-v" from "go test" (since it's easy to add back manually via TESTFLAGS)
Upstream-commit: d7dd19d22e92c19aec63fd1bd69b30109ed2a727
Component: engine
2013-12-02 10:14:25 -08:00
f91ba66458 Merge pull request #2984 from SvenDowideit/2319-build-check-for-dockerfile
check on the client side that there is a Dockerfile
Upstream-commit: 5f2313aad396a7cf5750fd5c13236bc5b81b8026
Component: engine
2013-12-02 09:35:31 -08:00
8118fea381 Merge pull request #2775 from daniel-garcia/2671-bindmount_files
fixes #2671, add support for bind mounting individual files in to contai...
Upstream-commit: d6cdbca6c118a1022f6cb4cd5e260a01aa342009
Component: engine
2013-12-02 09:30:08 -08:00
2e76dd6caa Merge pull request #2206 from discordianfish/1150-build-return-exit-code
Make docker build return exit code of build step
Upstream-commit: 751250015bbecd9d8c4158b7a8398b3dc2eccde4
Component: engine
2013-12-02 09:01:11 -08:00
85e4b81e0c Make docker build return exit code of build step
If a command during build fails, `docker build` now returns with
the exit code of that command.

This makes it necessary to change the build api endpoint to
return a json object stream.
Upstream-commit: b04c6466cdc89a107879af7a22b0917006b38730
Component: engine
2013-12-02 17:52:37 +01:00
ecb0056c78 Merge pull request #2693 from fkautz/makefile
Adding a makefile
Upstream-commit: c4548506c5be239b5dcb14291434bdaadef2d963
Component: engine
2013-12-01 23:25:24 -08:00
66b887f55d check on the client side that there is a Dockerfile, so we don't upload a huge stack of files, only to realise we can't do anything
Upstream-commit: 26cf8b9aff1cffa7c3e3ae7e720c960ff545ee78
Component: engine
2013-12-02 15:55:08 +10:00
f474881303 Remove "-v" from "go test" (since it's easy to add back via TESTFLAGS)
Upstream-commit: c30e2dc28c53664a4ad241a682355332af3371d2
Component: engine
2013-12-01 21:20:35 -07:00
b0bec05723 Merge pull request #2978 from tianon/go1.2
Update to Go 1.2 officially, now that it is released
Upstream-commit: d9cdd45d2e76ce3f1dbb722780d1f5d59d9116cb
Component: engine
2013-12-01 16:46:38 -08:00
44554632a3 Update to Go 1.2 officially, now that it is released
Upstream-commit: 5c5f6709017575b0b090cb5f76b75e7e733ffa2b
Component: engine
2013-12-01 15:11:10 -07:00
5d92296f82 Minor fixes based on discussions on #2693
* Volume exports ./bundles instead of root directory
* Documents build using docker-docs instead of docker:docs
* Bundles directory is created before running build or docs
Upstream-commit: 56ab9cb0d5169401616acc7a396e9f4af00ed670
Component: engine
2013-11-30 00:09:41 -08:00
c3f280e495 Merge pull request #2925 from tianon/update-systemd-service
Update systemd service file with suggestions from @seblu
Upstream-commit: d8ee08ba7b5885352641b8ec6a9b427fb9bef62f
Component: engine
2013-11-29 21:25:08 -08:00
2c50a80ad5 Merge pull request #2926 from crosbymichael/attach-wait
Return process exit code for attach
Upstream-commit: 62b1faf28c25a678a50f59251cccd2316239cc4a
Component: engine
2013-11-29 18:49:24 -08:00
3d5cd2c032 Merge pull request #2781 from shykes/engine-status-int
Engine: integer status, better streaming, lots of tests
Upstream-commit: 2dac7b5209d1b7926889c8ecc04ec984fc73865f
Component: engine
2013-11-29 17:57:28 -08:00
0cc237f91a Merge pull request #2964 from andrewsmedina/gofmt2
go fmt.
Upstream-commit: 1890301e679d0e681e85c540f5af49d3ffd19771
Component: engine
2013-11-29 17:19:28 -08:00
3692eceab9 Fix a bug in Output.Write, and improve testing coverage of error cases.
Upstream-commit: 35d54c665575d48954db9422702c0324f00ebc62
Component: engine
2013-11-30 00:25:46 +00:00
b5aa8a6224 Engine: better testing of streams and of basic engine primitives. Coverage=81.2%
Upstream-commit: 3553a803e3a474207296f5542182ecbc569ca1d8
Component: engine
2013-11-30 00:25:46 +00:00
b0f24a88da Engine: integer job status, improved stream API
* Jobs return an integer status instead of a string
* Status convention mimics unix process execution: 0=success, 1=generic error, 127="no such command"
* Stdout and Stderr support multiple thread-safe data receivers and ring buffer filtering
Upstream-commit: a4f8a2494b0fb755db52c68cf61ddc8ff52d2965
Component: engine
2013-11-30 00:25:46 +00:00
94c476ace9 go fmt.
result of `gofmt -w -s .` without vendors.
Upstream-commit: fe72f15e4ab25cc6e96c76d2da2c379569756843
Component: engine
2013-11-29 22:20:59 -02:00
8d638bcd96 Merge pull request #2954 from creack/fix_tests
Fix tests
Upstream-commit: 82cecb34b5363f7c9ee1ba3a40eb283d51b9b482
Component: engine
2013-11-29 15:08:11 -08:00
1514f65e08 Merge pull request #2952 from codeaholics/2126-registry-close-wait
Closing HTTP connection after Registry ping
Upstream-commit: e1278e9ec2441358fe3c93156fc55d6d04cb5c6e
Component: engine
2013-11-29 14:21:52 -08:00
beebec13c7 Merge pull request #2929 from pnasrat/2928-fix-signal-handling
Remove incorrect SIGKILL handler.
Upstream-commit: 0d3f4017cfa8cd77dd0122dfb23a6d192218c335
Component: engine
2013-11-29 14:10:46 -08:00
1f411096dd Add unit test to check bind / server side
Upstream-commit: ab35aef6b5b15c7c2d7aff4315025563b93ee379
Component: engine
2013-11-29 13:43:37 -08:00
a0f64049ec Merge branch 'master' into fix_tests
Upstream-commit: bb284ce59d661d9ec6e8dc9fd5b8fe21b588484b
Component: engine
2013-11-29 13:17:36 -08:00
ccfe71909e Reduce the timeout for restart/stop
Upstream-commit: 34353e782e1cdbd6aae078b3e660875e703d35ff
Component: engine
2013-11-29 11:08:01 -08:00
2135aa6aca Fix behavior of tty tests
Upstream-commit: 86c00be180f1e6831ca426576a55f5106f156448
Component: engine
2013-11-29 10:17:25 -08:00
90e04ec65d Remove an unit test from integrations test
Upstream-commit: 2ec1146679598837cd8bab62dc672bcda2a9610c
Component: engine
2013-11-29 10:17:04 -08:00
30abdabd65 Fix TestAttachDetachTruncatedID (behavior + tty issue)
Upstream-commit: 2e6a958612d65a0665a9396372fe82706987d085
Component: engine
2013-11-29 10:03:36 -08:00
e107dad484 Create helper function for tests
Upstream-commit: 697be6aaa009cd2bea5f07ae0b0780703e6565e1
Component: engine
2013-11-29 10:02:22 -08:00
27de84e1e0 Make sure the termcaps are restored after hijack
Upstream-commit: c13821ad0bfa596a8bbc06a494500ee39a35e429
Component: engine
2013-11-29 09:55:15 -08:00
caf6f256a4 Fix term.RestoreTerminal behavior
Upstream-commit: aa68656cd3aefe2a64dc259e8d19c72010e4f85b
Component: engine
2013-11-29 09:52:44 -08:00
4a151bb6e6 Actually test the detach (was not the case before)
Upstream-commit: 63d6cbe3e4d6f29c2491b0f1f505ef79b7191d8e
Component: engine
2013-11-29 09:11:20 -08:00
eab6c90e20 Make the PTY in raw mode before assert test (TestAttachDetach)
Upstream-commit: 67e9e0e11bb932ef9113ac91b2c1b0af6ee4db6d
Component: engine
2013-11-29 08:29:56 -08:00
fb39460944 Add a GetPtyMaster() method to container to retrieve the pty from an other package.
We could also have put ptyMaster public, but then we need to ignore it in json
otherwise the Marshalling fails. I think it is cleaner that way.
Upstream-commit: fbebe20bc69648c046e3818ca744ae246092a782
Component: engine
2013-11-29 07:40:44 -08:00
9f9072c9ad Make sure the container is running before testing against it (TestAttachDetach)
Upstream-commit: e535f544c7bc9c32b23e5505110a5513ff36be5a
Component: engine
2013-11-29 07:39:51 -08:00
08c53cdcf1 Closing connection after ping
Upstream-commit: fe727e2a87fa086d728664c396fd44f4be6d6afd
Component: engine
2013-11-29 12:07:20 +00:00
34e8bb0db2 Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD
Add specific feedback for ADD outside context
Upstream-commit: 926f7b579e48dcd5bda26bcd7a0ef0e25aed94da
Component: engine
2013-11-28 17:55:11 -08:00
43b168be86 Merge pull request #2357 from ulyssecarion/master
Document setting up Vagrant-docker with the remote API
Upstream-commit: ff5747728c6a0bde71108c86b20b0880c2d3d6e4
Component: engine
2013-11-28 17:54:05 -08:00