Troubles with docker+postgre

Your post is to ambiguous (at least for me) to get an idea of the root cause.

Please add a code example and share the exact error messages from the log. Make sure you format the shared code example and error messages according How to format your forum posts - do not share them as screenshot. Thank you!