Permalink
Browse files

minor fixes

  • Loading branch information...
1 parent bb8ae87 commit 46a8ac78a5bc0dd06a7ba893c414f97c175b3e02 @StrausMG StrausMG committed Jun 24, 2017
Showing with 3 additions and 4 deletions.
  1. +1 −2 etc/byor_config.py
  2. +1 −1 everware/spawner.py
  3. +1 −1 share/static/html/_byor_options_form.html
View
@@ -2,5 +2,4 @@
load_subconfig('etc/base_config.py') load_subconfig('etc/base_config.py')
load_subconfig('etc/github_auth.py') load_subconfig('etc/github_auth.py')
-from dockerspawner import DockerSpawner +c.JupyterHub.spawner_class = 'everware.ByorDockerSpawner'
-c.DockerSpawner.hub_ip_connect = c.JupyterHub.hub_ip
View
@@ -365,7 +365,7 @@ def remove_old_container(self):
force=True force=True
) )
except APIError as e: except APIError as e:
- self.log.info("Can't erase container %s due to %s" % (self.container_name, e)) + self.log.info("Can't erase container %s due to %s" % (self.container_name, e))
@gen.coroutine @gen.coroutine
def start(self, image=None): def start(self, image=None):
@@ -50,7 +50,7 @@
<p style="margin-bottom: 0px;"> <p style="margin-bottom: 0px;">
For a successful run <a href="https://www.docker.com/" target="_black">Docker</a> For a successful run <a href="https://www.docker.com/" target="_black">Docker</a>
must be installed on your server.<br /> must be installed on your server.<br />
- Enter ip and port of the Docker daemon running on your server.<br /> + Enter IP address and port of the Docker daemon running on your server.<br />
(Click <a href="https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option" (Click <a href="https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option"
target="_blank"> target="_blank">
here</a> to learn how to run Docker daemon on a particular port) here</a> to learn how to run Docker daemon on a particular port)

0 comments on commit 46a8ac7

Please sign in to comment.