Hi, trying the Python SDK, Python 3.10, installed dagger-io package in venv and copied the example code.
However, when running the code I get this error:
Traceback (most recent call last):
File "/home/codewithcheese/py-dagger/venv/lib/python3.10/site-packages/dagger/connectors/docker.py", line 87, in start
subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'run', '--rm', '--entrypoint', '/bin/cat', 'ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f', '/usr/bin/dagger-engine-session-linux-amd64']' returned non-zero exit status 125.
Removed the full stack trace since it pushed the message over the character limit.
raise ProvisionError(
dagger.connectors.docker.ProvisionError: Failed to copy engine session binary: None
It appears to be trying to copy the engine from an image, however trying to pull that image manually is denied
$ docker run ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f
Unable to find image 'ghcr.io/dagger/engine:v0.3.4@sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f' locally
docker: Error response from daemon: Get "https://ghcr.io/v2/dagger/engine/manifests/sha256:666b958a2f716c0d6b22d869c585d6fe07954133ec769bb3d1f310e931cb118f": denied: denied.