kopia lustrzana https://github.com/jupyterhub/repo2docker
add yuvipanda text suggestions
rodzic
5b73968b1c
commit
c231531f72
|
@ -46,7 +46,7 @@ class Repo2Docker(Application):
|
||||||
|
|
||||||
@default('log_level')
|
@default('log_level')
|
||||||
def _default_log_level(self):
|
def _default_log_level(self):
|
||||||
"""The system's default log level"""
|
"""The application's default log level"""
|
||||||
return logging.INFO
|
return logging.INFO
|
||||||
|
|
||||||
git_workdir = Unicode(
|
git_workdir = Unicode(
|
||||||
|
@ -484,7 +484,7 @@ class Repo2Docker(Application):
|
||||||
last_emit_time = time.time()
|
last_emit_time = time.time()
|
||||||
|
|
||||||
def run_image(self):
|
def run_image(self):
|
||||||
"""Run docker image"""
|
"""Run docker container from built image"""
|
||||||
client = docker.from_env(version='auto')
|
client = docker.from_env(version='auto')
|
||||||
if not self.run_cmd:
|
if not self.run_cmd:
|
||||||
port = str(self._get_free_port())
|
port = str(self._get_free_port())
|
||||||
|
|
Ładowanie…
Reference in New Issue