Alexander Larsson
b414d9d4e2
Clean up better from previous unit-test runs
...
This makes sure we unmount existing mounts (as well as removing the
devmapper devices), and it fails with proper logs rather than just
panic()ing.
2013-10-08 22:06:31 -07:00
Michael Crosby
b5a5a56271
Merge branch 'master' into 0.7-staging
2013-10-08 22:05:59 -07:00
Andy Rothfusz
c1bb33ea4d
Merge pull request #2114 from metalivedev/2113-searchbump
...
Fix #2113 improve doc search results
2013-10-09 12:24:33 -07:00
Andy Rothfusz
6545e53803
Clean up javascript comment.
2013-10-09 12:22:14 -07:00
Victor Vieux
d30806590c
Merge pull request #2127 from titanous/close-body
...
Fix some error cases where a HTTP body might not be closed
2013-10-09 06:52:03 -07:00
Tianon Gravi
d5f9160441
Merge pull request #1956 from tianon/bash-completion
...
Add proper bash completion for "docker push"
2013-10-09 05:47:55 -07:00
Guillaume J. Charmes
bb62c281f5
Merge pull request #2130 from tianon/swap-contrib-maintainers
...
Swap contrib MAINTAINERS
2013-10-08 17:57:52 -07:00
Andy Rothfusz
3565bf8d00
Merge pull request #2134 from tianon/contributing
...
Add devenvironment link to CONTRIBUTING.md
2013-10-08 17:36:56 -07:00
Tianon Gravi
9a4b0b9823
Add devenvironment link to CONTRIBUTING.md
2013-10-08 16:48:19 -06:00
Tianon Gravi
4fda3314d8
Swap contrib MAINTAINERS
2013-10-08 15:15:58 -06:00
Jonathan Rudenberg
e906485b07
Fix some error cases where a HTTP body might not be closed
...
Refs #2126
2013-10-08 15:35:00 -04:00
Andy Rothfusz
6d67ac2a1b
Insert popularity and boost docs results.
2013-10-07 17:51:07 -07:00
Alexander Larsson
b67c94a963
devmapper: Move all "raw" libdevmapper wrappers to devmapper.go
...
This separates out the DeviceSet logic a bit better from the raw
device mapper operations.
devicemapper: Serialize addess to the devicemapper deviceset
This code is not safe to run in multiple threads at the same time,
and neither is libdevmapper.
DeviceMapper: Move deactivate into UnmountDevice
This way the deactivate is atomic wrt othe device mapper operations
and will not fail with EBUSY if someone else starts a devicemapper
operation inbetween unmount and deactivate.
devmapper: Fix loopback mounting regression
Some changes were added to attach_loop_device which added
a perror() in a place that caused it to override errno so that
a later errno != EBUSY failed. This fixes that and cleans up
the error reporting a bit.
devmapper: Build on old kernels without LOOP_CTL_GET_FREE define
v0.7.0-rc2
2013-10-07 22:42:29 +00:00
Solomon Hykes
2d425af1b1
Merge pull request #2103 from tianon/clean-out-fixme
...
Clean out a few outdated FIXME items
2013-10-07 15:19:01 -07:00
Andy Rothfusz
ed19693f50
Merge pull request #2106 from mastahyeti/api_1.5_docs_whitespace
...
Cleanup whitespace in API 1.5 docs
2013-10-07 13:23:55 -07:00
Andy Rothfusz
194c1dbbd8
Merge pull request #2109 from shamrin/patch-4
...
[docs] use angle brackets in MAINTAINER example email
2013-10-07 12:18:44 -07:00
Alexey Shamrin
a9eac7eab4
[docs] use angle brackets in MAINTAINER example email
2013-10-07 20:29:54 +04:00
Ben Toews
7c28683f08
Cleanup whitespace in API 1.5 docs
...
remove whitespace on blank lines
2013-10-06 19:52:18 -06:00
Daniel Mizyrycki
c18e849451
Merge pull request #2061 from dotcloud/1948-test-detach
...
testing, issue #1948 : Increase TestRunDetach timeout
2013-10-06 13:26:44 -07:00
Tianon Gravi
a665517151
Clean out a few outdated FIXME items
2013-10-06 13:55:26 -06:00
Guillaume J. Charmes
ea5b19cc01
Merge branch 'device-mapper-test' into 0.7-staging
...
Conflicts:
Dockerfile
docker/docker.go
hack/PACKAGERS.md
hack/make.sh
hack/make/binary
hack/make/test
runtime.go
runtime_test.go
server.go
utils.go
utils/utils.go
utils_test.go
2013-10-04 15:31:04 -07:00
Michael Crosby
86c96da8d0
Allow trun ids with links
...
Only now full ids with docker ls -a
2013-10-04 13:21:28 -07:00
Michael Crosby
6c091462ed
Update based on initial feedback
...
Hard code root entity name
Remove test from Dockerfile
Name sure container names work across commands
2013-10-04 09:51:35 -07:00
Michael Crosby
1cbe361b08
Fix rebase conflicts from master
2013-10-04 09:51:35 -07:00
Michael Crosby
04f092792f
Add docs and maintainers file for new sub pkgs
2013-10-04 09:51:35 -07:00
Michael Crosby
aeb4b196bd
Remove network connection when link is removed
2013-10-04 09:51:35 -07:00
Michael Crosby
f2696470e2
Convert links to upper case
2013-10-04 09:51:35 -07:00
Michael Crosby
623314936e
Add support for names with start command
2013-10-04 09:51:35 -07:00
Michael Crosby
9c00d25b04
Update make script for ldl
2013-10-04 09:51:34 -07:00
Michael Crosby
bd4b65e882
Add sqlite as graphdb backend
...
Add build steps to compile docker statically
with CGO enabled
2013-10-04 09:51:34 -07:00
Michael Crosby
1b43908dbb
Refactor to use graph for linking
2013-10-04 09:51:34 -07:00
Michael Crosby
784e7647e1
Add gograph database to handle linking
2013-10-04 09:51:34 -07:00
Michael Crosby
99f5fc3116
Remove top level link command and endpoint
2013-10-04 09:51:34 -07:00
Michael Crosby
9d887e5f25
Add name and alias to docker ps output
2013-10-04 09:51:34 -07:00
Michael Crosby
f80d778077
Restore container links at runtime start
2013-10-04 09:51:34 -07:00
Michael Crosby
7a3d4b1d3f
Update new unittests after rebase
2013-10-04 09:51:34 -07:00
Michael Crosby
27fc64dbc6
Add default port for link
...
Add links unit test file
2013-10-04 09:51:34 -07:00
Michael Crosby
a07d919ea1
Add view all links for the engine
2013-10-04 09:51:34 -07:00
Michael Crosby
e1952ae844
Do not reference ports for linking containers
2013-10-04 09:51:34 -07:00
Michael Crosby
b184ca1383
Create LinkRepository during runtime init
2013-10-04 09:51:34 -07:00
Michael Crosby
29de4792da
Create private link via iptables to linked containers
...
Allow active links to be removed
2013-10-04 09:51:34 -07:00
Michael Crosby
adecaeb40b
Prevent inter-container communication
2013-10-04 09:51:34 -07:00
Michael Crosby
9d150f02f9
Add port and ip for links
2013-10-04 09:51:34 -07:00
Michael Crosby
30e4a8e524
Initial commit to add links and inject env
2013-10-04 09:51:34 -07:00
Michael Crosby
48f1f6fa0d
Refactor internal port mappings
2013-10-04 09:51:34 -07:00
Michael Crosby
232ec55c1e
Add IP to APIPort struct
2013-10-04 09:51:34 -07:00
Michael Crosby
3e4c9d723c
Add -expose flag to expose ports without publishing
2013-10-04 09:51:34 -07:00
Michael Crosby
675f1a8069
Add warning and build error for public image ports
2013-10-04 09:50:28 -07:00
Michael Crosby
6c1ec9c28f
Add destination to iptables conf
2013-10-04 09:50:28 -07:00
Michael Crosby
46c82d0391
Refactor internal port mappings
2013-10-04 09:50:28 -07:00