Ben Firshman
326438b170
Pick correct numbers for one off containers
2013-12-20 12:55:45 +00:00
Ben Firshman
15f12c6e2c
Ignore containers without names
2013-12-20 12:51:32 +00:00
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
68e4341fbf
Compile name regex
2013-12-19 20:09:54 +00:00
Ben Firshman
bdf99cd443
Move log messages to container
2013-12-19 18:20:48 +00:00
Ben Firshman
5a46278f79
Fix project name getting overridden with service
2013-12-19 16:56:58 +00:00
Ben Firshman
2d2d81d33f
Rename "service collection" to "project"
2013-12-19 16:55:12 +00:00
Aanand Prasad
818728b825
Mount volumes
2013-12-19 15:53:43 +00:00
Ben Firshman
d6db049b42
Generate project name based on current dir
2013-12-19 15:32:24 +00:00
Ben Firshman
c488710625
Add project option to services
2013-12-19 15:16:17 +00:00
Ben Firshman
6c551a200b
Do not allow underscores in names
2013-12-19 14:47:43 +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
26ea08087a
Remove build target from logs
2013-12-18 18:46:53 +00:00
Ben Firshman
dd767aef34
Remove extraneous new lines when building
2013-12-18 18:45:25 +00:00
Ben Firshman
f89e4bc70f
Add quotes to build output
2013-12-18 18:44:33 +00:00
Ben Firshman
a5fc880d10
Refactor service to add a container object
2013-12-18 18:37:48 +00:00
Ben Firshman
5e1e4a71e0
Rename ServiceTest
2013-12-18 17:01:50 +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
Aanand Prasad
23c3dc430b
Add texttable to requirements.txt
2013-12-18 16:20:03 +00:00
Aanand Prasad
f0df5c6079
Refactor container retrieval / name parsing
2013-12-18 16:20:03 +00:00
Ben Firshman
3458dd2fad
Print build output
2013-12-18 16:12:53 +00:00
Ben Firshman
cb366eed7a
Add logging to start and stop
2013-12-18 13:13:40 +00:00
Ben Firshman
90130eec65
Ignore non-plum containers
2013-12-18 12:01:54 +00:00
Ben Firshman
24a98b0552
Pull images if they do not exist
2013-12-18 11:37:51 +00:00
Ben Firshman
785cb12833
Add missing format var in error
2013-12-18 11:15:59 +00:00
Ben Firshman
87c46e281c
Add support for specifying external port
2013-12-18 11:14:34 +00:00
Ben Firshman
120d57e856
Change plum up to plum start
2013-12-17 15:42:46 +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
d3bd7f3239
Remove containers after stopping them
2013-12-17 12:12:05 +00:00
Ben Firshman
accc1a219a
Perform all operations against stopped containers
2013-12-17 12:09:45 +00:00
Ben Firshman
6abec85703
Fix variable naming in service collection
2013-12-17 11:45:13 +00:00
Ben Firshman
6a2d528d2e
Add port binding
2013-12-16 11:25:01 +00:00
Ben Firshman
ee0ac206e0
Add build log message
2013-12-16 10:51:22 +00:00
Ben Firshman
96ca74ccc8
Fix readme example
2013-12-14 16:46:50 +00:00
Ben Firshman
03e16c4981
Revert "Use RUN in readme example"
...
This reverts commit 539f1acdb8
.
2013-12-14 16:46:34 +00:00
Ben Firshman
772585109d
Moved tests to root directory
2013-12-14 16:34:24 +00:00