Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Template Build fails after long docker push #356

Open
jakubno opened this issue Apr 16, 2024 · 0 comments
Open

CLI Template Build fails after long docker push #356

jakubno opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working CLI Created by Linear-GitHub Sync

Comments

@jakubno
Copy link
Member

jakubno commented Apr 16, 2024

Describe the bug
If your docker image is big and the push takes over ~ 5 minutes, the build fails just after the push.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare a Dockerfile where the sum of layer sizes will be greater 10 GB
  2. Run e2b teplate build
  3. Wait for push
  4. Receive following error:

Terminal commands & output

TypeError: fetch failed
    at node:internal/deps/undici/undici:12618:11 {
  cause: Error: write ECONNRESET
      at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
      at writevGeneric (node:internal/stream_base_commons:138:26)
      at Socket._writeGeneric (node:net:950:11)
      at Socket._writev (node:net:959:8)
      at doWrite (node:internal/streams/writable:588:12)
      at clearBuffer (node:internal/streams/writable:766:5)
      at Writable.uncork (node:internal/streams/writable:523:7)
      at AsyncWriter.write (node:internal/deps/undici/undici:9980:16)
      at writeIterable (node:internal/deps/undici/undici:9915:23)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    errno: -4077,
    code: 'ECONNRESET',
    syscall: 'write'
  }
}

Desktop (please complete the following information):

  • OS: Tested on iOS and Windows
  • Version: @e2b/cli==0.4.4
@jakubno jakubno added bug Something isn't working CLI Created by Linear-GitHub Sync labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

1 participant