E2B icon indicating copy to clipboard operation
E2B copied to clipboard

e2b template build fails in WSL

Open twilwa opened this issue 3 months ago • 3 comments

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):

  • OS: [e.g. iOS] Windows Home 11 / Ubuntu 22.04(WSL)
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 0.4.4

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

twilwa avatar Apr 13 '24 04:04 twilwa

It looks like this issue.

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

jakubno avatar Apr 13 '24 04:04 jakubno

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

twilwa avatar Apr 13 '24 23:04 twilwa

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

jakubno avatar Apr 14 '24 00:04 jakubno