HomeDevCentral

Prefer container name to linked name

Description

Prefer container name to linked name

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

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1835

Details

Provenance
derecksonAuthored on Oct 2 2018, 19:32
derecksonPushed on Oct 2 2018, 19:33
Reviewer
dereckson
Differential Revision
D1835: Prefer container name to linked name
Parents
rDP70547c7b3cac: Print ps auxw-like result, but with a container column
Branches
Unknown
Tags
Unknown
Tasks
T1456: Create a tool to offer a ps or top view per containers