"An image does not exist locally with the tag" error when pushing images in VIC appliance
search cancel

"An image does not exist locally with the tag" error when pushing images in VIC appliance

book

Article ID: 340334

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
Pushing images to the VIC Appliance registry fails with the message "An image does not exist locally with the tag". Docker client output might look like the following:

    docker push <VIC_Appliance_FQDN_IP>/default-project/some-image-name:latest
    The push refers to repository [<VIC_Appliance_FQDN_IP>/default-project/some-image-name]
    An image does not exist locally with the tag: <VIC_Appliance_FQDN_IP>/default-roject/some-image-name


Environment

VMware vSphere Integrated Containers 1.0.x

Cause

The container image needs to be tag locally for the new registry before it can be pushed. 

Resolution

To resolve this issue we must Tag the image using the "docker tag" command.

For example:

docker tag some-image-name:latest <VIC_Appliance_FQDN_IP>/default-project/some-image-name:latest

Additional Information

Pushing is done using the DCH. For more details see Building and Pushing Images with the dch-photon Docker Engine