Open runabol opened 1 year ago
Some progress. Realized I have to first pull
the image but:
sudo go run main.go pull --image ubuntu:20.04
2023/08/20 21:41:46 fatal Failed to pull image.
Error received: Error initializing source docker://ubuntu:20.04:
Error reading manifest 20.04 in docker.io/library/ubuntu:
manifest unknown: OCI index found, but accept header does not support OCI indexes
exit status 1
After some testing, the problem seems to be specific to Ubuntu images. I'll try to check it soon and see what needs to be updated, but in the meantime, using alpine
images seems to work. If you want to try with a more complete Linux distro, fedora:latest
works as well.
@johnyrose thanks for looking into this. Yes, Alpine seems to work fine. I'll use that for now.
Trying to run one of the examples on an Ubuntu 20.04 machine:
and getting:
Any idea what I'm doing wrong?