summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/start-sftp-atmoz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/start-sftp-atmoz.sh')
-rwxr-xr-xapps/files_external/tests/env/start-sftp-atmoz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/start-sftp-atmoz.sh b/apps/files_external/tests/env/start-sftp-atmoz.sh
index 91eb5747c54..bebc7289250 100755
--- a/apps/files_external/tests/env/start-sftp-atmoz.sh
+++ b/apps/files_external/tests/env/start-sftp-atmoz.sh
@@ -34,7 +34,7 @@ password=12345
container=`docker run -d atmoz/sftp $user:$password:1001`
-host=`docker inspect $container | grep IPAddress | cut -d '"' -f 4`
+host=`docker inspect --format="{{.NetworkSettings.IPAddress}}" $container`
cat > $thisFolder/config.sftp.php <<DELIM
<?php