Test: Print docker container logs during startup.

This commit is contained in:
Ronald Ip committed 2023-07-14 11:45:17 +08:00
1 parent 204732ce39
commit 1ffb62ac82
1 file changed
+1 -1
+1 -1
View File
@@ -139,8 +139,8 @@ check_container() {
docker exec dokku ps -ef | grep "/usr/sbin/sshd -D" >/dev/null 2>&1 docker exec dokku ps -ef | grep "/usr/sbin/sshd -D" >/dev/null 2>&1
echo $? echo $?
) )
echo "" && docker logs dokku
if [[ $is_up -eq 0 ]]; then if [[ $is_up -eq 0 ]]; then
echo "" && docker logs dokku
break break
fi fi
sleep 2 sleep 2