- With the command "docker-machine ip" I get the ip and I enter it in the "Host name / adreess" field.
- I get the following error.
- This is the port of the database.
You have to expose the port of the container to the host. when you do the docker run the option -p: is to expose ports ex:
docker run -p 5432:5432 postgres:latest
I have the same problem I have executing the image, but I put stop and I run with the port and I get an error, or where I should change the port of an existing image of an application.