Guillaume J. Charmes
1a0d96b31b
Use integers instead of non-printable chars in the escape sequence detection
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
7bdecf7754
Remove unused optimization that could lead in loosing the escape sequence
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
d4f9cccbbd
Implement an escape sequence in order to be able to detach from a container
2013-04-09 11:06:17 -07:00
Dominik Honnef
c1be61031a
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
Solomon Hykes
3d02b3c1c0
Merge remote-tracking branch 'robryk/writebroadcaster-stuff'
2013-04-02 20:35:13 -07:00
Solomon Hykes
886246e7e5
Use an environment variable to activate debug mode, instead of a package-specific flag
2013-04-02 10:58:16 -07:00
Robert Obryk
bcf056683b
Renamed writeBroadcaster.Close() to CloseWriters().
2013-04-02 10:45:17 +02:00
Solomon Hykes
41ad213ebd
Show shorthand image IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup images
2013-03-31 22:11:55 -07:00
Solomon Hykes
f13fe3e23b
Show shorthand container IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup containers
2013-03-31 02:02:01 -07:00
Guillaume J. Charmes
adcd5a9ffb
Add debug infos in CmdInfo to know the amount of fds and goroutines in use
2013-03-30 10:33:10 -07:00
Robert Obryk
b695d4b48c
Swapped a map for a list in writeBroadcaster.
2013-03-30 16:04:19 +01:00
Robert Obryk
239e6cccce
Make writeBroadcaster safe for concurrent use.
2013-03-30 16:02:22 +01:00
Guillaume J. Charmes
d2ce0225df
Fix #108 , reattach now works properly
2013-03-29 09:31:47 -07:00
Robert Obryk
d87fb5222b
Fix a race condition in bufReader.
...
The race condition cen be detected by running existing bufReader tests
with Go's race detector.
2013-03-29 11:00:50 +01:00
Jonathan Rudenberg
6c0ec2f878
Camelize some snake_case variable names
2013-03-28 20:12:23 -04:00
Guillaume J. Charmes
5ba8823296
Improve the debug function
2013-03-25 01:29:01 -07:00
Guillaume J. Charmes
b5587a31a8
Add a Debugf() helper and a -D (debug) flag to docker
2013-03-22 11:44:12 -07:00
Solomon Hykes
5bcb0cd948
Moved Go() to the main package... And got rid of the useless docker/future package
2013-03-21 01:13:55 -07:00
Solomon Hykes
5089191e76
Moved Download() and progressReader{} to the main package
2013-03-21 00:54:54 -07:00
Solomon Hykes
1f5aaa522b
Moved HumanDuration() to the main package
2013-03-21 00:52:43 -07:00
Solomon Hykes
d913b3dd96
'docker pull' and 'docker put' automatically detect tar compression (gzip, bzip2 or uncompressed). -j and -z flags are no longer required.
2013-02-22 12:28:25 -08:00
Andrea Luzzardi
79ad8c7d66
utils: Added SelfPath(), which figures out the current (absolute) path of the running binary
2013-02-13 13:58:28 -08:00
Solomon Hykes
f9c044dd18
'docker ps' prints shorter lines
2013-01-29 03:18:07 -08:00
Andrea Luzzardi
252f3f299f
go fmt
2013-01-28 14:30:05 -08:00
Solomon Hykes
28cee802fd
docker tar: stream the contents of a container as a tar archive
2013-01-27 00:59:49 -08:00
Solomon Hykes
f3884d35b9
Plugged 4 more commands into the real backend: 'diff', 'reset', 'run', 'stop'. 'run' actually runs the process, but doesn't capture outptu properly, and encounters mount issues
2013-01-26 15:56:42 -08:00
Andrea Luzzardi
70e2b10ccf
Initial commit
2013-01-18 16:13:39 -08:00