Show an error on 'run' when there are legacy one-off containers

Also warn the user about the one-off containers in the standard error
message about legacy containers.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-07-03 13:35:54 +01:00
commit e98caf5cf9
6 changed files with 221 additions and 38 deletions

View file

@ -308,8 +308,7 @@ class Project(object):
self.client,
self.name,
self.service_names,
stopped=stopped,
one_off=one_off)
)
return filter(matches_service_names, containers)