I have a tarred docker repository created by using docker save.
I want to push this tar to a registry, say dockerhub. Is there a way we can do that without loading on local docker?
DevOps Stack Exchange is a question and answer site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure. It only takes a minute to sign up.Sign up to join this community
Actually this is not possible as
docker push command will look for a local image or a repository.
You will have to load your image first from tar file, the push it to your registry.
docker load --input repo.tar docker image tag myrepo registry-host:5000/myrepo/myrepo:v1 docker image push registry-host:5000/myrepo/myrepo:v1