We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b002a6b commit 86ee879Copy full SHA for 86ee879
app/entrypoint.sh
@@ -47,7 +47,7 @@ function get_nginx_proxy_cid {
47
48
function check_writable_directory {
49
local dir="$1"
50
- docker_api "/containers/$HOSTNAME/json" | jq ".Mounts[].Destination" | grep -q "^\"$dir\"$"
+ docker_api "/containers/$CONTAINER_ID/json" | jq ".Mounts[].Destination" | grep -q "^\"$dir\"$"
51
if [[ $? -ne 0 ]]; then
52
echo "Warning: '$dir' does not appear to be a mounted volume."
53
fi
0 commit comments