Skip to content

Commit

Permalink
Fix workspace storage path on Docker Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell authored Apr 27, 2017
1 parent 929c431 commit df7ca1f
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 @@ -307,10 +307,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 df7ca1f

Please sign in to comment.