docker run --label version=1.0 myimage

Category: Docker

docker run --label version=1.0 myimage

Attach a metadata label to the running container

Attaches a metadata label (version=1.0) to the container. Labels are key-value pairs for organization.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.