A developer built city-permits-api:local on a laptop and needs that artifact in OCIR. What is the correct Docker sequence?
Select an answer to reveal the explanation.
Short Explanation
docker push sends whatever name the local image already has. Tag with the fully qualified OCIR path first, then push—that Docker tag is not an OCI resource defined-tag.
Full Explanation
The Docker CLI pushes the name the local image already carries. Developers docker tag the local image with the fully qualified OCIR path, then docker push that name. Tagging is a local pointer to an image ID; it is distinct from OCI defined-tags on tenancy resources. Pushing an unqualified local name or confusing OCI resource tags with Docker tags is a common mistake.