Commit graph

26 commits

Author SHA1 Message Date
Aanand Prasad
86e551f2e2 Attach with websocket and do manual line buffering
This works around the odd byte sequences we see at the beginning of
every chunk when attaching via the streaming HTTP endpoint and a plain
socket.
2013-12-20 11:13:26 +00:00
Aanand Prasad
aa7a5a1487 Small refactor for clarity 2013-12-20 11:13:26 +00:00
Ben Firshman
4a729fe47f Document logs command 2013-12-20 10:57:28 +00:00
Ben Firshman
ea09ec672c Add detached mode to run 2013-12-20 10:53:07 +00:00
Ben Firshman
2f28265d10 Add support for differentiating one-off containers
This is a basic start, the API is pretty shonky.
2013-12-20 10:46:55 +00:00
Ben Firshman
2d2d81d33f Rename "service collection" to "project" 2013-12-19 16:55:12 +00:00
Ben Firshman
d6db049b42 Generate project name based on current dir 2013-12-19 15:32:24 +00:00
Aanand Prasad
9f1d08c54b Implement --version flag 2013-12-19 13:06:31 +00:00
Aanand Prasad
9e9a20b227 Remove unused imports 2013-12-19 13:06:31 +00:00
Ben Firshman
9cf1d232b2 Better ps output 2013-12-19 13:03:44 +00:00
Aanand Prasad
bac37a19e3 Fix method name in start() 2013-12-19 12:39:23 +00:00
Aanand Prasad
ae0fa0c447 Hide stack traces for Docker API errors 2013-12-19 12:36:38 +00:00
Aanand Prasad
fb69512008 Set port_bindings to None when starting a one-off container in 'plum run' 2013-12-19 12:26:58 +00:00
Aanand Prasad
beaa1dbc14 Fix run: use Container.logs(), explicitly start container 2013-12-19 12:26:13 +00:00
Aanand Prasad
730f9772f9 plum start runs in foreground by default
Also fixed LogPrinter regressions. Sorry for not doing that in a
separate commit.

Also made 'plum logs' show backlog. Yep, rolled that right in too. Gonna
go whip myself now.
2013-12-18 19:03:34 +00:00
Ben Firshman
a5fc880d10 Refactor service to add a container object 2013-12-18 18:37:48 +00:00
Aanand Prasad
e5642bd8b7 Show a sensible error when an unknown service name is given to 'run' 2013-12-18 16:20:03 +00:00
Aanand Prasad
4cc906fcd2 ps only lists running containers 2013-12-18 16:20:03 +00:00
Aanand Prasad
64253a8290 Basic log output 2013-12-18 16:20:03 +00:00
Ben Firshman
87c46e281c Add support for specifying external port 2013-12-18 11:14:34 +00:00
Ben Firshman
4fdd2dc077 Print output from run 2013-12-17 14:13:12 +00:00
Ben Firshman
3e680a2c7a Fix container naming 2013-12-17 12:12:13 +00:00
Ben Firshman
5c5bb9a02f Add basic run command 2013-12-13 20:55:50 +00:00
Ben Firshman
1727586dd0 Add start and stop to docs 2013-12-13 20:35:54 +00:00
Ben Firshman
8005254138 Set up default logging 2013-12-13 19:19:44 +00:00
Ben Firshman
3b654ad349 Add basic CLI 2013-12-11 14:25:32 +00:00