[databases] Use db environment info for container creation

Following the latest updates of beat/beat.core>, use
the environment field if available to find the correct
database image to use. Otherwise, use the original
technique based on the database list provided with
the image.
4 jobs for update_db_container_creation in 4 minutes and 4 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_36 #202905
docker-build

00:02:55

59.0%
passed build_linux_37 #202906
docker-build

00:02:53

59.0%
passed build_macosx_36 #202903
macosx

00:04:01

59.0%
passed build_macosx_37 #202904
macosx

00:03:49

59.0%