Unverified Commit 1f9de77f authored by Yuting Jiang's avatar Yuting Jiang Committed by GitHub
Browse files

Bug - Revise 'docker run' in sb deploy (#195)

**Description**

Revise 'docker run' in sb deploy due to base image running endpoint/cmd under /root.

**Major Revision**

- define endpoint bash when 'docker run'
parent 14232b56
......@@ -101,7 +101,7 @@
{{ '--security-opt seccomp=unconfined --group-add video' if amd_gpu_exist else '' }} \
-w /root -v {{ workspace }}:/root -v /mnt:/mnt \
-v /var/run/docker.sock:/var/run/docker.sock \
{{ docker_image }} bash && \
--entrypoint /bin/bash {{ docker_image }} && \
docker exec {{ container }} bash -c \
"chown -R root:root ~ && \
sed -i 's/[# ]*Port.*/Port {{ ssh_port }}/g' /etc/ssh/sshd_config && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment