Page MenuHomeDevCentral

Prefer container name to linked name
ClosedPublic

Authored by dereckson on Oct 2 2018, 19:33.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 4, 15:32
Unknown Object (File)
Fri, Apr 4, 06:05
Unknown Object (File)
Thu, Apr 3, 15:52
Unknown Object (File)
Wed, Apr 2, 17:14
Unknown Object (File)
Sat, Mar 29, 00:38
Unknown Object (File)
Thu, Mar 27, 06:11
Unknown Object (File)
Tue, Mar 25, 18:59
Unknown Object (File)
Tue, Mar 25, 12:54
Subscribers
None

Details

Summary

A Docker container has several name:

  • the container name
  • a set of <base container>/<link name> when the container is linked to

Even if --link is deprecated, it's still valuable to implement a quick check
to select a name without slash if available.

Test Plan

Test on Dwellers:

  • before: RabbitMQ containers had nasqueron/mq as name
  • after: white-rabbit is well the name printed

Diff Detail

Repository
rDP Docker Processes
Lint
Lint Not Applicable
Unit
Tests Not Applicable