mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Drop "docker/" prefix from tags (#4157)
It's no longer accurate as of https://github.com/moby/moby/pull/22384 Fixes https://github.com/moby/moby/issues/30324
This commit is contained in:
committed by
Misty Stanley-Jones
parent
ab364bb519
commit
678bb44701
@@ -32,7 +32,7 @@ Docker supports some special template markup you can use when specifying a tag's
|
||||
For example, specifying a {% raw %}`--log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"`{% endraw %} value yields `syslog` log lines like:
|
||||
|
||||
```none
|
||||
Aug 7 18:33:19 HOSTNAME docker/hello-world/foobar/5790672ab6a0[9103]: Hello from Docker.
|
||||
Aug 7 18:33:19 HOSTNAME hello-world/foobar/5790672ab6a0[9103]: Hello from Docker.
|
||||
```
|
||||
|
||||
At startup time, the system sets the `container_name` field and {% raw %}`{{.Name}}`{% endraw %} in
|
||||
@@ -59,6 +59,6 @@ $ docker run -it --rm \
|
||||
```
|
||||
|
||||
```none
|
||||
Apr 1 15:22:17 ip-10-27-39-73 docker/logtester.1234[45499]: + exec app
|
||||
Apr 1 15:22:17 ip-10-27-39-73 docker/logtester.1234[45499]: 2016-04-01 15:22:17.075416751 +0000 UTC stderr msg: 1
|
||||
Apr 1 15:22:17 ip-10-27-39-73 logtester.1234[45499]: + exec app
|
||||
Apr 1 15:22:17 ip-10-27-39-73 logtester.1234[45499]: 2016-04-01 15:22:17.075416751 +0000 UTC stderr msg: 1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user