Commit graph

39 commits

Author SHA1 Message Date
Aanand Prasad
0cafdc9c6c plum -> fig 2013-12-20 20:28:24 +00:00
Aanand Prasad
13a30c327a Container.name strips the leading slash 2013-12-20 19:33:41 +00:00
Aanand Prasad
81093627fe Implement kill and rm 2013-12-20 18:30:59 +00:00
Aanand Prasad
a4710fa9e1 'plum up' is now the special magic
'start' and 'stop' are now analogous to their Docker namesakes.
2013-12-20 18:30:59 +00:00
Ben Firshman
507940535f Tag built images and use them when starting
A basic measure to get round the fact that adding isn't cached. Once
Docker supports cached adds, this is probably redundant.
2013-12-20 16:23:40 +00:00
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
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
Aanand Prasad
818728b825 Mount volumes 2013-12-19 15:53:43 +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
fb69512008 Set port_bindings to None when starting a one-off container in 'plum run' 2013-12-19 12:26:58 +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
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
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
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
88b04aaa9c Add support for building images 2013-12-13 20:55:49 +00:00
Ben Firshman
c2e9353760 Allow options to passed to start_container 2013-12-10 21:01:56 +00:00
Ben Firshman
bf2505d15d Add options for containers to Service 2013-12-10 21:01:55 +00:00
Ben Firshman
9a81623581 Create links when creating containers 2013-12-09 21:39:11 +00:00
Aanand Prasad
4e426e77fa Containers have names which are used to isolate them to their service 2013-12-09 15:01:28 +00:00
Ben Firshman
973760a501 Add links argument to service 2013-12-09 14:09:18 +00:00
Aanand Prasad
ffdebb84bb Services have names 2013-12-09 12:28:53 +00:00
Aanand Prasad
0eb7d30861 yay 2013-12-09 11:41:05 +00:00