Run drush command after apache starts

I am using centos docker image to build a container and host drupal site. I need to run drush commands after apache starts. But every commands after apache starts doesn’t run. Is there any way to run drush commands after apache starts? My start up script has following lines:

/usr/sbin/httpd -DFOREGROUND
drush updb -y

Source: StackOverflow