Docker

docker tag

SafeTag images

docker tag <src> <registry/repo:tag>

Adds names to images — tag as registry/repo:tag before pushing.

Examples

  • docker tag app:latest ghcr.io/team/app:1.4.0Tag for a registry push

Syntax

docker tag <source> <target>

Before you run it

Adds a name only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store