Guillaume J. Charmes
99b5bec069
Fix run disconnect behavious in tty mode + add unit test to enforce it
2013-04-05 19:02:35 -07:00
Guillaume J. Charmes
7d8895545e
Cleanup pty variable names
2013-04-05 17:40:55 -07:00
Guillaume J. Charmes
33a5fe3bd4
Make sure the process start in his own session and grabs the terminal
2013-04-05 17:40:55 -07:00
Guillaume J. Charmes
847a8f45a4
Merge the 3 ptys in 1
2013-04-05 17:40:55 -07:00
Solomon Hykes
8cf30395a1
Changed default bridge interface do 'docker0'
2013-04-05 14:16:19 -07:00
Solomon Hykes
22adb52c0a
The flag to use a pre-existing bridge interface is '-b'. Added explanation
2013-04-05 14:16:04 -07:00
Solomon Hykes
793c1ad990
Merge remote-tracking branch 'origin/219-default-bridge-2'
2013-04-05 14:02:16 -07:00
Solomon Hykes
febaeebfb8
Add tests of tcp port allocator
2013-04-05 13:03:24 -07:00
Solomon Hykes
d32f184696
Fix a race condition when running the port allocator
2013-04-05 13:03:04 -07:00
Guillaume J. Charmes
20085794f0
Increase the timeout in TestStart() to make sure the container has the time to die within the function
2013-04-05 02:01:38 -07:00
Solomon Hykes
a4fc52305a
Bumping version to 0.1.3
2013-04-04 23:05:03 -07:00
Solomon Hykes
2aad4a3478
Choose which TCP frontend port to allocate with '-p :PORT'
2013-04-04 22:58:01 -07:00
Solomon Hykes
a5fb1d6c01
Refactored PortAllocator to allow for same-frontend constraint
2013-04-04 22:56:12 -07:00
Guillaume J. Charmes
b76b329ef0
Prevent destroy() to stop twice container in TestRestore()
2013-04-04 20:40:42 -07:00
Guillaume J. Charmes
bae6f95830
Increase the timeout of TestRestore() to avoid unwanted timeout error
2013-04-04 20:32:44 -07:00
Guillaume J. Charmes
cda9cf1539
Avoid unwanted warnings from destroy() in TestStart()
2013-04-04 20:30:24 -07:00
Solomon Hykes
f344212b93
Renamed PortAllocator.populate() to run()
2013-04-04 19:49:32 -07:00
Solomon Hykes
0424998f38
Print a less confusing error message when lxcbr0 doesn't exist
2013-04-04 19:14:10 -07:00
Solomon Hykes
8bfbdd7afa
Add versioning to docker image format. IMPORTANT: the format versioning is pegged to docker's versioning, so changes to the format MUST trigger an increment in version number.
2013-04-04 18:38:43 -07:00
Solomon Hykes
3de51b7bfe
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-04 17:00:59 -07:00
Solomon Hykes
a58cd8c616
Merge pull request #322 from sa2ajj/port-map-nitpick
...
change option description to reflect the semantics
2013-04-04 16:39:54 -07:00
Solomon Hykes
586a79cca0
Merge remote-tracking branch 'dominikh/minor-code-touchups'
2013-04-04 16:20:37 -07:00
Solomon Hykes
349edf1bea
Merge pull request #331 from lynaghk/master
...
Fix broken link on documentation website between examples.
2013-04-04 16:18:27 -07:00
Solomon Hykes
677908910c
Merge pull request #320 from sa2ajj/cli-docs
...
move each command description into a separate document
2013-04-04 16:17:53 -07:00
Solomon Hykes
6b5fe8c2ec
Merge remote-tracking branch 'origin/257-container_real_running_state-fix'
2013-04-04 15:34:18 -07:00
Solomon Hykes
26088a72b3
Merge remote-tracking branch 'dominikh/improve-attachopts'
2013-04-04 15:18:41 -07:00
Solomon Hykes
ebc837957f
Continue cleaning up iptables rules from previous version, to avoid crashing after an upgrade
2013-04-04 15:16:42 -07:00
Solomon Hykes
c4d3da5871
Merge remote-tracking branch 'unclejack/137-fix-nat'
2013-04-04 15:06:20 -07:00
unclejack
32f5811476
stop looping remote:port from host to containers
2013-04-04 23:07:10 +03:00
Solomon Hykes
a7f191d51d
Merge remote-tracking branch 'origin/328-i_o_error_uncloced_connection-fix'
2013-04-04 11:03:39 -07:00
Guillaume J. Charmes
1b370f9d8d
Move the default bridge name to a constant
2013-04-04 05:33:28 -07:00
Kevin J. Lynagh
92186d7cf7
Fix broken link in doc site.
...
Broken link was from python_web_app to nonexistent "base commands page"; updated to point to next item in examples menu, running_ssh_service screencast.
2013-04-03 22:23:17 -07:00
Solomon Hykes
5d3c0767da
Simplified Graph.Delete() - no more garbage collecting, just atomic deregister then os.RemoveAll
2013-04-03 22:14:28 -07:00
Guillaume J. Charmes
aa4bf4284b
If bridge does not exists, try to create it
2013-04-03 16:17:03 -07:00
Guillaume J. Charmes
d9a9bfc9c7
Make LXC aware of custom bridge
2013-04-03 16:15:44 -07:00
Guillaume J. Charmes
90a6e310fe
Add an helper function to check if two network overlaps. Also add unit tests for this function
2013-04-03 16:15:43 -07:00
Guillaume J. Charmes
f39af7e05d
Put the bridge interface name in the command line
2013-04-03 16:15:43 -07:00
Solomon Hykes
dce5a06aba
Bumped version to 0.1.2
2013-04-03 15:35:32 -07:00
unclejack
3b65be9127
Fix NAT problem with ports looping back to containers
2013-04-04 01:32:46 +03:00
shin-
ad0183e419
Check WaitTimeout return in test, replaced lock initialization in runtime.Register() with call to initLock()
2013-04-03 10:48:02 -07:00
Dominik Honnef
4f36039e7b
clean up AttachOpts type
...
Primarily, there is no reason to have a pointer to a map. Furthermore,
make() can be used on AttachOpts directly.
2013-04-03 16:06:35 +02:00
Mikhail Sobolev
b74d1c9247
change option description to reflect the semantics
...
At least, for me, 'map' means that there are two values and one is "mapped" to
another.
In this case, just one value is provided (container's port), the other value is
automatically obtained (host's port) and the actual mapping can be seen using
``docker port`` command.
2013-04-03 16:37:56 +03:00
Mikhail Sobolev
cf8b8c1969
move each command description into a separate document
2013-04-03 15:55:18 +03:00
shin-
d1767bbf67
Moved resetLock() to the Load() method ; changed resetLock() to initLock() and changed behavior to not modify the lock if it was already set (not nil)
2013-04-03 05:39:39 -07:00
shin-
7b74b9cab5
Integrated @creack's feedback on TestRestore
2013-04-03 05:37:45 -07:00
Dominik Honnef
14d3880daf
remove superfluous panic
2013-04-03 11:19:48 +02:00
Dominik Honnef
22f1cc955d
replace unreachable returns with panics
...
Not only is this a more common idiom, it'll make finding bugs easier,
and it'll make porting to Go 1.1 easier.
Go 1.1 will not require the final return or panic because it has a
notion of terminating statements.
2013-04-03 11:18:23 +02:00
Dominik Honnef
cab31fd512
use wg.Done() isntead of wg.Add(-1)
2013-04-03 11:11:34 +02:00
Dominik Honnef
1fc55c2bb9
kill the right containers in runtime_test
2013-04-03 11:11:06 +02:00
Dominik Honnef
5ecd940a59
remove dead code in CmdPush
2013-04-03 11:08:32 +02:00