code:
import asyncio
import boxlite
async def main():
async with boxlite.SimpleBox(image="ghcr.io/boxlite-ai/boxlite-skillbox:0.1.0") as box:
result = await box.exec("python", "--version")
print(result.stdout)
asyncio.run(main())
error:
File "/python3.10/site-packages/boxlite/simplebox.py", line 125, in aenter
await self._box.aenter()
RuntimeError: storage error: Failed to pull image 'debian:bookworm-slim' after trying 1 registry:
do request url:https://index.docker.io/v2/library/debian/manifests/bookworm-slim
response :
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/debian","Action":"pull"}]}]}
I've tried all the example‘s image name, and the error message is the same.When using Docker services to export rootfs for reading, a missing file system error is reported.
Could you please provide the methods to change the image mirror source?
code:
import asyncio
import boxlite
async def main():
asyncio.run(main())
error:
File "/python3.10/site-packages/boxlite/simplebox.py", line 125, in aenter
await self._box.aenter()
RuntimeError: storage error: Failed to pull image 'debian:bookworm-slim' after trying 1 registry:
do request url:https://index.docker.io/v2/library/debian/manifests/bookworm-slim
response :
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/debian","Action":"pull"}]}]}
I've tried all the example‘s image name, and the error message is the same.When using Docker services to export rootfs for reading, a missing file system error is reported.
Could you please provide the methods to change the image mirror source?