We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest to change command line:
docker create --name postgres-demo -e POSTGRES_PASSWORD=Welcome -p 5432:5432 postgres:11.5-alpine
into:
docker create --name postgres-demo -e POSTGRES_PASSWORD=Welcome -p 5432 postgres:11.5-alpine
If you run the docker create command with 5432:5432 and then type
docker start postgres-demo
will give the following error message on Linux Mint 19.1:
Error response from daemon: driver failed programming external connectivity on endpoint postgres-demo (91725e72a055c90304ae19f52e5b78cbdbb4a979c341863e19e35045aa938452): Error starting userland proxy: listen tcp 0.0.0.0:5432: bind: address already in use Error: failed to start containers: postgres-demo
The text was updated successfully, but these errors were encountered:
bind: address already in use means 5432 is already in listening state i.e., already being used by another application. Try -p 5431:5432.
bind: address already in use
-p 5431:5432
Im curious though. did this one docker create --name postgres-demo -e POSTGRES_PASSWORD=Welcome -p 5432 postgres:11.5-alpine work?
Sorry, something went wrong.
No branches or pull requests
Suggest to change command line:
into:
If you run the docker create command with 5432:5432 and then type
will give the following error message on Linux Mint 19.1:
The text was updated successfully, but these errors were encountered: