Docker Managing containers Referencing containers

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


Docker commands which take the name of a container accept three different forms:

Full UUID9cc69f11a0f76073e87f25cb6eaf0e079fbfbd1bc47c063bcd25ed3722a8cc4a
Short UUID9cc69f11a0f7

Use docker ps to view these values for the containers on your system.

The UUID is generated by Docker and cannot be modified. You can provide a name to the container when you start it docker run --name <given name> <image>. Docker will generate a random name to the container if you don't specify one at the time of starting the container.

NOTE: The value of the UUID (or a 'short' UUID) can be any length as long as the given value is unique to one container

Got any Docker Question?