Remove references to docker-osx

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2014-10-06 14:21:20 +01:00
commit b969988ccb
7 changed files with 9 additions and 13 deletions

View file

@ -34,8 +34,8 @@ class Command(DocoptCommand):
raise errors.DockerNotFoundUbuntu()
else:
raise errors.DockerNotFoundGeneric()
elif call_silently(['which', 'docker-osx']) == 0:
raise errors.ConnectionErrorDockerOSX()
elif call_silently(['which', 'boot2docker']) == 0:
raise errors.ConnectionErrorBoot2Docker()
else:
raise errors.ConnectionErrorGeneric(self.get_client().base_url)

View file

@ -39,10 +39,10 @@ class DockerNotFoundGeneric(UserError):
""")
class ConnectionErrorDockerOSX(UserError):
class ConnectionErrorBoot2Docker(UserError):
def __init__(self):
super(ConnectionErrorDockerOSX, self).__init__("""
Couldn't connect to Docker daemon - you might need to run `docker-osx shell`.
super(ConnectionErrorBoot2Docker, self).__init__("""
Couldn't connect to Docker daemon - you might need to run `boot2docker up`.
""")