Closed
Description
we're using the docker image for nightly tests and therefore we recreate the container each night.
currently we're creating the container with docker run -d ....
after that we user docker logs together with grep to wait until the output appears that the database is ready.
is there maybe some command/script inside the container that waits until the database is ready?
something like docker exec -it oracle /foo/bar/wait_until_database_is_ready.sh
or is it possible to start the container and exit after initialization tomdo a first start with docker run (without -d), wait until the first startup is done and finally start the container with docker start.