e2b-dev / E2B

Secure open source cloud runtime for AI apps & AI agents
https://e2b.dev/docs
Apache License 2.0
7.02k stars 458 forks source link

e2b template build fails in WSL #355

Open twilwa opened 7 months ago

twilwa commented 7 months ago

Describe the bug A clear and concise description of what the bug is. image

To Reproduce Steps to reproduce the behavior: install the e2b cli in a WSL environment attempt to run e2b template build --name "sandboxy1"

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. output as described in the docs

Browser console output Console logs from your browser's developer tool console. n/a

Terminal commands & output Commands you used to start the app and the terminal output. see screenshot

Screenshots If applicable, add screenshots to help explain your problem. see screenshot Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

jakubno commented 7 months ago

It looks like this issue.

Can you try open docker config in ~/.docker/config.json and remove credsStore property and restart docker engine

twilwa commented 7 months ago

tried: remove credsstore property, restart docker engine & docker logout mv config.json old_config.json docker login

still same error, unfortunately. gonna remote in to another machine to work for now but im down to keep troubleshooting if it's helpful for you guys

jakubno commented 7 months ago

I think you need to restart the docker service (probably systemctl restart docker) or restarting the computer should suffice.

salimmj commented 3 months ago

I'm facing the same issue, nothing is working