Commit Graph

28 Commits

Author SHA1 Message Date
Guillaume J. Charmes 6e507b9460 Add a Debugf() helper and a -D (debug) flag to docker 2013-03-22 11:44:12 -07:00
Solomon Hykes 623e91e2e3 Moved Go() to the main package... And got rid of the useless docker/future package 2013-03-21 01:13:55 -07:00
creack e5e66716df Move commands into docker 2013-03-14 02:43:16 -07:00
Solomon Hykes 745edc49cd Merge dockerd into docker. 'docker -d' runs in daemon mode. For all other commands, docker auto-detects whether to run standalone or to remote-control the daemon 2013-03-13 00:29:40 -07:00
Solomon Hykes 86854ffbc5 Merged master 2013-03-12 21:53:34 -07:00
Solomon Hykes d2cba75d5f Removed interactive mode ('docker -i'). Cool UI experiment but seems more trouble than it's worth 2013-03-12 15:05:41 -07:00
creack 453d49573c Put back the github.com path for the import 2013-03-12 11:59:27 -07:00
Guillaume J. Charmes 18f4e7e196 Put back the relative paths for dev purpose 2013-03-12 05:17:51 -07:00
Guillaume J. Charmes 687d6f25ee Change relative paths to absolute 2013-03-11 02:59:52 -07:00
shin- 5d6199b925 post-merge repairs 2013-03-11 07:39:06 -07:00
Solomon Hykes aa12da6f50 go fmt 2013-02-26 17:26:46 -08:00
Solomon Hykes e1b25e9b08 Moved server and client logic into sub-packages docker/server and docker/client, respectively. The UI is not affected. 2013-02-13 17:10:00 -08:00
Solomon Hykes 45c30b8eda 'docker -i' can be used as an interpreter for scripts (#!/usr/bin/env docker -i) 2013-02-12 22:24:15 -08:00
Solomon Hykes f20deac47f Clean up list of available commands 2013-02-12 17:25:41 -08:00
Solomon Hykes d0b6f7ef3b docker -i: interactive mode 2013-02-12 08:48:30 -08:00
Solomon Hykes f330c2a248 Disabled remote access to dockerd. Preferred usage is over ssh. 2013-02-12 08:37:12 -08:00
Solomon Hykes edc9968604 Clearer error message in the client when DOCKER env variable is not set 2013-02-04 23:25:28 -08:00
Solomon Hykes d5be77075a Fix a bug which caused the client to never exit in interactive mode when NORAW is set. 2013-01-29 15:37:54 -08:00
Solomon Hykes 8c142c6127 export NORAW=1 to disable raw mode in the client 2013-01-29 15:24:39 -08:00
Solomon Hykes c283ff6675 Fixed typo in Darwin termios settings 2013-01-28 18:37:54 -08:00
shin- c914aaf43e Forgot an import in termios_darwin 2013-01-28 17:07:38 -08:00
shin- 08ac1d0b35 Different termios for linux/darwin 2013-01-28 17:06:46 -08:00
Solomon Hykes 75529a202f Fixed IO edge cases on docker client. Wait for stdin to close before exiting if it's a pipe, but not if it's a terminal. Correctly send stdin EOF to the server with TCP half-close 2013-01-25 11:26:18 -08:00
Solomon Hykes f3ffba7afe Factored out docker/rcli (remote cli protocol), docker/fake (mocking utilities) and docker/future (real utilities which don't yet fit in the core) 2013-01-24 20:01:32 -08:00
Solomon Hykes 553ca56d7e Enabled stdin and interactive mode. 'docker run -a CONTAINER bash' will now correctly run an interactive shell. This required switching to a simple raw TCP protocol by default 2013-01-23 23:14:46 -08:00
Solomon Hykes d62a759106 Moved 100% of arg parsing to dockerd. Even help messages are generated on the server 2013-01-20 00:44:44 -08:00
Solomon Hykes 3dc240c7ee CLI: don't crash with no arguments 2013-01-19 17:41:59 -08:00
Solomon Hykes e5323e7c9a Prototyping with a mock CLI and daemon 2013-01-19 16:07:19 -08:00