I'm running a local cluster (docker) and using the...
# prisma-whats-new
j
I'm running a local cluster (docker) and using the key generated by
prisma token
in prisma.yml but getting
your token is invalid
when running
prisma playground
still. What am I doing wrong?
a
Hey 👋 - Have you placed the generated token in Playground (as HTTP-Header)?
j
... Ah... I did not.
a
No worries 🙂
j
I've stopped using local Docker anyway but I'll try later. The image uses the linux filesystem and it's a well-known "bug" that running that filesystem in a VM on macOS is incredibly slow 😞
a
That is true, ya. Why not switching to
Docker for Mac
instead? 🙂
I mean, as I understand you use the Docker engine in a VM, right?
j
No, I run Docker.app.
a
Ah okay, and then it is slow? Hm. 😕
j
Yep. I think this is the issue? https://github.com/docker/for-mac/issues/77
a
Interesting. Thanks for sharing. 👍
j
See the note about Docker for mac?
He linked me to this http://docker-sync.io/
a
Where are you facing the performance problems? I mean, where do you access the filesystem?
j
Doing basically anything. Once the image is running it's using normally 100%-200% CPU and starts the app very slowly.
a
Hm, ok 😕
j
f
have you tried to
Copy code
local nuke
then
Copy code
prisma deploy
?
j
Thanks Kam. I have not yet, no. First I need to get docker to stop eating CPU or it's pretty much impossible to use. I'll try that after.
f
Whys it eating so much of your cpu? its supposed to be a lightweight solution 😞
j
No one appears to know. However the solution was a factory reset of docker mac. Here is some more detail: https://github.com/docker/for-mac/issues/1759#issuecomment-366632793