cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.65k stars 102 forks source link

Pulling an image from OCI registry with custom port fails to show up in Tart list #827

Closed robinjohngraham closed 1 month ago

robinjohngraham commented 1 month ago

My corporate team has provisioned a docker registry on a Nexus server using a custom port of 8221. I can login and push images to the registry without issue.

But when I run "tart pull registry.fq.d.n:8221:/appleimages/imagename:latest" the image is pulled fully in tact to ~/.tart/cache/OCIs but running "tart list" the image does not show up.

I noticed the image gets stored under ~/.tart/cache/OCIs in a subdirectory that includes the port: (ie. ~/.tart/cache/OCIs/registry.fq.d.n:8221 )

If I rename the folder to just "~/.tart/cache/OCIs/registry.fq.d.n" and then run "tart list" again, the image shows up in the list.