You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id="$(docker run --rm -d -p 6666:6666 kvrocks:ci)"
sleep 1m # waiting for the periodic container health checkif [ "$(docker inspect --format='{{.State.Health.Status}}'$id)"!="healthy" ];thenecho"Container is not healthy."exit 1
fiif [ "$(ss --listening --no-header --tcp '( sport = :6666 )')"=="" ];thenecho"The container listening port can not be accessed from outside."exit 1
fi
docker stop $id
We'd better add some sanity checks in:
kvrocks/.github/workflows/kvrocks.yaml
Lines 292 to 309 in 7f0c515
Originally posted by @tisonkun in #1784 (comment)
As mentioned in the comments, we at least check if the docker listening port can be accessed from outside.
The text was updated successfully, but these errors were encountered: