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

Briefer command fails to pull docker images #344

Open
icarito opened this issue Feb 18, 2025 · 0 comments
Open

Briefer command fails to pull docker images #344

icarito opened this issue Feb 18, 2025 · 0 comments

Comments

@icarito
Copy link

icarito commented Feb 18, 2025

Hi, when running briefer for the first time I got errors:

Downloading image briefercloud/briefer:latest...
Error: underlying stream is not seekable
Traceback (most recent call last):
  File "/home/icarito/Proyectos/L/briefer-local/venv/bin/briefer", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/icarito/Proyectos/L/briefer-local/venv/lib/python3.12/site-packages/briefer/main.py", line 251, in main
    start_or_run_container(client, container_name, args.image, args.detach)
  File "/home/icarito/Proyectos/L/briefer-local/venv/lib/python3.12/site-packages/briefer/main.py", line 106, in start_or_run_container
    pull_image(client, image)
  File "/home/icarito/Proyectos/L/briefer-local/venv/lib/python3.12/site-packages/briefer/main.py", line 191, in pull_image
    layer_output[layer_id] = sys.stdout.tell()
                             ^^^^^^^^^^^^^^^^^
io.UnsupportedOperation: underlying stream is not seekable

I was able to get past them with redirecting the output of the briefer command to a logfile (e.g. briefer > init.log)

I'm running it on Manjaro (Archlinux derivative).
Tried it both and failed both with bash and zsh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant