Skip to content

Commit

Permalink
Fix workspace storage path on Docker Cloud (eclipse-che#4931)
Browse files Browse the repository at this point in the history
Signed-off-by: David Windell <[email protected]>
  • Loading branch information
davidwindell authored and Roman Iuvshin committed May 26, 2017
1 parent 8206add commit b95089c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/che/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ get_che_data_from_host() {
}

get_che_server_container_id() {
# Returning `hostname` doesn't work when running Che on OpenShift/Kubernetes.
# Returning `hostname` doesn't work when running Che on OpenShift/Kubernetes/Docker Cloud.
# In these cases `hostname` correspond to the pod ID that is different from
# the container ID
hostname
echo $(basename "$(head /proc/1/cgroup || hostname)");
}

is_docker_for_mac_or_windows() {
Expand Down

0 comments on commit b95089c

Please sign in to comment.