One of the postgres containers stops as soon as it starts

I am new to docker, your comment saved me lots of trouble. In my case, I had to insert “-e POSTGRES_HOST_AUTH_METHOD=trust” option in “docker run” command. (I am just testing the sample-voting-app), so I guess security is not a concern for me at this time. But your comment solved my issue. Thanks.

1 Like