Skip to content

Commit

Permalink
Move run into python from template
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Sep 23, 2015
1 parent 175f89b commit 10af450
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -14,7 +14,7 @@
# additional parameters. This command string is re-used for a `docker inspect`
# command and will likely cause errors if it is extensively modified, past the
# usual group/sudo changes.
#command = docker run {docker_args}
#command = docker {docker_args}

# The docker image name that should be started.
image = bgruening/docker-ipython-notebook:dev
Expand Down
Expand Up @@ -15,7 +15,7 @@ password_auth = True
# additional parameters. This command string is re-used for a `docker inspect`
# command and will likely cause errors if it is extensively modified, past the
# usual group/sudo changes.
#command = docker run {docker_args}
#command = docker {docker_args}

# The docker image name that should be started.
image = erasche/docker-rstudio-notebook:dev
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/web/base/interactive_environments.py
Expand Up @@ -190,7 +190,7 @@ def docker_cmd(self, env_override={}, volumes=[]):
# Then we format in the entire docker command in place of
# {docker_args}, so as to let the admin not worry about which args are
# getting passed
command = command.format(docker_args='{command_inject} {environment} -d -p {port_ext}:{port_int} -v "{temp_dir}:/import/" {volume_str} {image}')
command = command.format(docker_args='run {command_inject} {environment} -d -p {port_ext}:{port_int} -v "{temp_dir}:/import/" {volume_str} {image}')
# Once that's available, we format again with all of our arguments
command = command.format(
command_inject=self.attr.viz_config.get("docker", "command_inject"),
Expand Down

0 comments on commit 10af450

Please sign in to comment.