replaced exit-command for containers from 'exit' to '#exit', otherwise it will always really exit the container (which is then in state: exited) if we execute it in bash.
This commit is contained in:
@ -173,7 +173,7 @@ class SubmissionsController < ApplicationController
|
||||
|
||||
def handle_message(message, tubesock, container)
|
||||
# Handle special commands first
|
||||
if (/^exit/.match(message))
|
||||
if (/^#exit/.match(message))
|
||||
kill_socket(tubesock)
|
||||
@docker_client.exit_container(container)
|
||||
else
|
||||
|
Reference in New Issue
Block a user