1
0
mirror of https://github.com/docker/cli.git synced 2026-01-22 03:22:01 +03:00
Commit Graph

5871 Commits

Author SHA1 Message Date
Ben Sargent
9da56ff82a Added format of Volumes and Binds parameters to create and start
* Added sample Volumes parameter to container create API.
* Added PortBindings and PublishAllPorts parameter to container start API
* Added note to container start about Binds needed to be declared as Volumes during container create.
Upstream-commit: b9ad0c9f742a3e48ad06770abb362048306c763e
Component: engine
2013-12-02 16:52:12 +00:00
Tianon Gravi
ec29d1628c Add udev rules files for hiding the docker loopback devices from udisks
This prevents them from showing up on the desktop in a window manager, for example.
Upstream-commit: dbb47f63ab637a4766f72eac55f66493cf1c6f5b
Component: engine
2013-12-02 09:11:06 -07:00
Solomon Hykes
ecb0056c78 Merge pull request #2693 from fkautz/makefile
Adding a makefile
Upstream-commit: c4548506c5be239b5dcb14291434bdaadef2d963
Component: engine
2013-12-01 23:25:24 -08:00
Sven Dowideit
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
Tianon Gravi
c7e970855b Update Dockerfile with all-caps INSTRUCTIONS (as explained in docs as being "convention": http://docs.docker.io/en/latest/use/builder/#format)
Upstream-commit: 7f1a91121c3f77ca833f43693018f6cce32b96bf
Component: engine
2013-12-01 21:31:28 -07:00
Tianon Gravi
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
Guillaume J. Charmes
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
Tianon Gravi
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
Andrews Medina
ce0389c1a1 fixed Looback typo.
Upstream-commit: fea432bdf542a469ae9b5b114b6858a7bc56b323
Component: engine
2013-11-30 16:28:52 -02:00
James Turnbull
801d5c9c0f Updated and simplified the PG example
Upstream-commit: 39aac21db47b3bcbf651008267ad1142f1213103
Component: engine
2013-11-30 10:58:52 -05:00
Frederick F. Kautz IV
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
Solomon Hykes
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
Andrews Medina
6a2bf8a9db using errors.New instead fmt.Error.
Upstream-commit: e8437e8fcffae3661b9decdc1c576083c0de5219
Component: engine
2013-11-30 01:02:09 -02:00
Guillaume J. Charmes
9ddc2663be Merge branch 'master' into handle_sigquit
Conflicts:
	server.go
Upstream-commit: 4e030c78d21f01c3b15e0f360ab7ffcf53918bea
Component: engine
2013-11-29 18:51:32 -08:00
Guillaume J. Charmes
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
Guillaume J. Charmes
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
Guillaume J. Charmes
0cc237f91a Merge pull request #2964 from andrewsmedina/gofmt2
go fmt.
Upstream-commit: 1890301e679d0e681e85c540f5af49d3ffd19771
Component: engine
2013-11-29 17:19:28 -08:00
Andrews Medina
26d7cf1b0c fixed some go vet issues.
Upstream-commit: a6c9a332d040a98c5cf4325491fc8d9aa7e5475b
Component: engine
2013-11-29 22:53:20 -02:00
Michael Crosby
5658618c30 Only return published ports for docker port
Upstream-commit: 65db62619c8ae61c9735cb2a433adac7731256a5
Component: engine
2013-11-29 16:45:20 -08:00
Solomon Hykes
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
Solomon Hykes
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
Solomon Hykes
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
Andrews Medina
94c476ace9 go fmt.
result of `gofmt -w -s .` without vendors.
Upstream-commit: fe72f15e4ab25cc6e96c76d2da2c379569756843
Component: engine
2013-11-29 22:20:59 -02:00
Michael Crosby
fd2cf2da1e Split auth on first colon
Upstream-commit: a37b155384401e8b2bed635251440b0feb6bcdbc
Component: engine
2013-11-29 15:14:36 -08:00
Guillaume J. Charmes
8d638bcd96 Merge pull request #2954 from creack/fix_tests
Fix tests
Upstream-commit: 82cecb34b5363f7c9ee1ba3a40eb283d51b9b482
Component: engine
2013-11-29 15:08:11 -08:00
Guillaume J. Charmes
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
Guillaume J. Charmes
96f59dc91d Catch SIGQUIT for cleanup
Upstream-commit: db7c55ba7f97358f3a6de2b83c8e3d1827667446
Component: engine
2013-11-29 14:13:00 -08:00
Guillaume J. Charmes
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
Guillaume J. Charmes
1f411096dd Add unit test to check bind / server side
Upstream-commit: ab35aef6b5b15c7c2d7aff4315025563b93ee379
Component: engine
2013-11-29 13:43:37 -08:00
Guillaume J. Charmes
a0f64049ec Merge branch 'master' into fix_tests
Upstream-commit: bb284ce59d661d9ec6e8dc9fd5b8fe21b588484b
Component: engine
2013-11-29 13:17:36 -08:00
Guillaume J. Charmes
ccfe71909e Reduce the timeout for restart/stop
Upstream-commit: 34353e782e1cdbd6aae078b3e660875e703d35ff
Component: engine
2013-11-29 11:08:01 -08:00
Michael Crosby
8c2eb815d3 Search for repo first before image id
Upstream-commit: ca98434a45a1c836aa69d67d8cc12b8e95e5722f
Component: engine
2013-11-29 11:06:35 -08:00
Guillaume J. Charmes
2135aa6aca Fix behavior of tty tests
Upstream-commit: 86c00be180f1e6831ca426576a55f5106f156448
Component: engine
2013-11-29 10:17:25 -08:00
Guillaume J. Charmes
90e04ec65d Remove an unit test from integrations test
Upstream-commit: 2ec1146679598837cd8bab62dc672bcda2a9610c
Component: engine
2013-11-29 10:17:04 -08:00
Guillaume J. Charmes
30abdabd65 Fix TestAttachDetachTruncatedID (behavior + tty issue)
Upstream-commit: 2e6a958612d65a0665a9396372fe82706987d085
Component: engine
2013-11-29 10:03:36 -08:00
Guillaume J. Charmes
e107dad484 Create helper function for tests
Upstream-commit: 697be6aaa009cd2bea5f07ae0b0780703e6565e1
Component: engine
2013-11-29 10:02:22 -08:00
Guillaume J. Charmes
27de84e1e0 Make sure the termcaps are restored after hijack
Upstream-commit: c13821ad0bfa596a8bbc06a494500ee39a35e429
Component: engine
2013-11-29 09:55:15 -08:00
Guillaume J. Charmes
caf6f256a4 Fix term.RestoreTerminal behavior
Upstream-commit: aa68656cd3aefe2a64dc259e8d19c72010e4f85b
Component: engine
2013-11-29 09:52:44 -08:00
Guillaume J. Charmes
4a151bb6e6 Actually test the detach (was not the case before)
Upstream-commit: 63d6cbe3e4d6f29c2491b0f1f505ef79b7191d8e
Component: engine
2013-11-29 09:11:20 -08:00
Guillaume J. Charmes
eab6c90e20 Make the PTY in raw mode before assert test (TestAttachDetach)
Upstream-commit: 67e9e0e11bb932ef9113ac91b2c1b0af6ee4db6d
Component: engine
2013-11-29 08:29:56 -08:00
Guillaume J. Charmes
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
Guillaume J. Charmes
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
cressie176
08c53cdcf1 Closing connection after ping
Upstream-commit: fe727e2a87fa086d728664c396fd44f4be6d6afd
Component: engine
2013-11-29 12:07:20 +00:00
Guillaume J. Charmes
6bd279c623 Merge branch 'master' into docker-osx
Upstream-commit: f72e6048722baf8476dbadc3a10830bb55d6ef1b
Component: engine
2013-11-28 21:16:32 -08:00
Victor Vieux
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
Victor Vieux
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
Thatcher
4a247aee4e Merge pull request #2901 from dkumor/patch-1
Deleted references to AUFS in Arch docs
Upstream-commit: 6c5699363954d145bd51c6069db587b1aceece8a
Component: engine
2013-11-28 17:39:26 -08:00
Sven Dowideit
98a6754c91 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: ba5268d382dec7b731717feec77b6e7d2e6cfdaf
Component: engine
2013-11-29 11:22:17 +10:00
Thatcher Peskens
be864815d2 Fixed some grammar and one other line about needing the postgresql-client for connecting to the service.
Upstream-commit: 8291d509c234779dff081ab579b6ff30358e7501
Component: engine
2013-11-28 17:19:26 -08:00
Thatcher
b5bdf9e788 Merge pull request #2894 from brunoqc/patch-1
Update postgresql's version in example
Upstream-commit: 139644895e39fd452d0aa7b2835f4bdd0f2ec461
Component: engine
2013-11-28 17:16:25 -08:00