Hi community,
I’m playing with containers inside my vyos
I want to use my own docker images, buildt from Dockerfiles an then exported as .tar files
Let’s say I have uploaded an exported one to /config/user-data/containers/pippo.tar
then I try to add it to the system with
add container image /config/user-data/containers/pippo.tar
but the error ”Error: invalid reference format”
My workaround is to import manualli with
sudo podman load -i /config/user-data/containers/pippo.tar
and then in configure mode
set container name my-pippo image pippo:latest
and it’s working well, but … isn’t there a better (or simply an official) way to use own containers ?
I think that this way I could have problemas on version updates.
Thanks for any advice.
I created a feature request T7874
Well, so I can stop searching and reading documentation … and just wait.
Thank you
L0crian
September 26, 2025, 7:33pm
4
If you’re not building private data into the containers, you can always upload them to your Docker Hub. Then just add the images like normal to VyOS. It’s an extra step until the feature is added, but if can make it easier if you need to add the image to multiple instances.
2 Likes
Not a bad advice, thank you but I have private things
So … I configured a private docker-registry , and declared it in vyos configuration … and it’s working.
But I’d prefer to import the .tar locally … so I hope it could be implemented soon.
system
Closed
October 29, 2025, 4:52pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.