Has anyone installed prisma locally with Docker, I...
# random
e
Has anyone installed prisma locally with Docker, I have followed the tutorials but in terminal always error: "Could not connect to server at http://localhost:4466. Please check if your server is running."
c
d
How do you start the container?
e
I am using Docker ToolBox bro
d
Do you start the container using a
docker run
command, or do you use
docker-compose
?
Either way, you have to make sure to map the container port to a port on your machine. I recall docker toolbox having issues in the past, so if you're able to upgrade to
Docker for Windows
or
Docker for MacOs
, it will definitely eliminate one possible source of error. Docker Toolbox is old and not recommended anymore.
e
Thanks I will try
n
With Docker Toolbox, instead of
localhost
you should use the IP address of the VM
But if you can, use either Docker Desktop for Mac or Docker Desktop for Windows