summaryrefslogtreecommitdiff
path: root/start-container-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'start-container-docker.sh')
-rwxr-xr-xstart-container-docker.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/start-container-docker.sh b/start-container-docker.sh
index b3f3a66f..6fbec8e4 100755
--- a/start-container-docker.sh
+++ b/start-container-docker.sh
@@ -253,12 +253,6 @@ fi
IFS=" " read -r -a bind_mounts <<< "$(print_bind_mounts "$task" "$SSH $session_host")"
-docker_root=""
-if $SSH $session_host test -f "/.dockerenv" \
- && $SSH $session_host mount | grep -q "/run/docker.sock "; then
- docker_root=$($DOCKER info | grep "Docker Root Dir:" | cut -d: -f 2)
-fi
-
bind_mounted_workspace=false
bind_mounts_opt=()
for bind_mount in "${bind_mounts[@]}"; do
@@ -274,13 +268,6 @@ for bind_mount in "${bind_mounts[@]}"; do
case "$dir" in
"/home/"*)
$dryruncmd $SSH $session_host mkdir -p "$dir"
-
- if [ x"$docker_root" != x"" ]; then
- # If inside "host" container (with proxied docker and /home from
- # host-home volume), convert paths to refer to volume's path on
- # bare-metal.
- dir=$(echo "$dir" | sed -e "s#^/home/#$docker_root/volumes/host-home/_data/#")
- fi
;;
esac