Container labels

You can add Docker object labels to every persistent container in /opt/diffblue/docker-compose.custom.yml file. Following the Docker documentation.

Example:

version: '2.2'
services:
  application-server:
    labels:
      - "com.example.vendor=ACME Incorporated"
      - com.example.label-with-value="foo"
      - version="1.0"

Will add three labels to application-server

docker ps --filter "label=com.example.vendor=ACME Incorporated"

CONTAINER ID        IMAGE                                      COMMAND                  CREATED             STATUS              PORTS               NAMES
e44b3f0c4f41        eu.gcr.io/diffblue-cr/application-server   "bash -c 'yarn; yarn…"   41 seconds ago      Up 39 seconds       8080/tcp            diffblue_application-server_1

results matching ""

    No results matching ""