From dbf82fa38365f597384b2ce2316d76c62fe8ff53 Mon Sep 17 00:00:00 2001 From: jalencato Date: Sun, 16 Jun 2024 14:36:35 -0700 Subject: [PATCH] [Enhancement] Allow detach on the local docker container (#866) *Issue #, if available:* *Description of changes:* * Change the default option for the local container to detach the container so local user can start local job without rewrite the command By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- docker/local/Dockerfile.local | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/local/Dockerfile.local b/docker/local/Dockerfile.local index d6c39d6650..1172831fa9 100644 --- a/docker/local/Dockerfile.local +++ b/docker/local/Dockerfile.local @@ -106,5 +106,4 @@ COPY code/tools /graphstorm/tools COPY code/training_scripts /graphstorm/training_scripts COPY code/fetch_and_run.sh /graphstorm/fetch_and_run.sh - -CMD ["bash", "/graphstorm/fetch_and_run.sh"] +CMD ["/usr/sbin/sshd", "-D"]