Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.01 KB

Internals.md

File metadata and controls

31 lines (22 loc) · 1.01 KB

Docker Labels

Docker Guide

our prefix is com.swiftdockercli

LABEL com.swiftdockercli.action="test"/"build" LABEL com.swiftdockercli.folder="name-of-your-project"

  • "com.swiftdockercli.action"= - images created from the test command
  • "com.swiftdockercli.build" - images created from the build command

LABEL "com.example.vendor"="ACME Incorporated" LABEL com.example.label-with-value="foo"

Identifying test images created with swift-docker = docker images --filter "com.swiftdockercli.action=bar"

Docker Tags

https://docs.docker.com/engine/reference/commandline/tag/

Ideas

  • swift docker test -s 4.1
  • swift docker test -s 4.0
  • swift docker test --configuration release
  • swift docker test --swift 4.0 --configuration release
  • swift docker test --image swiftdocker/swift:latest
  • swift docker build --tag my-tag
  • swift docker run ./build/hello --interactive
  • swift docker run --daemon/--background
  • swift docker test --log docker.log