jwreagor / cp-logging

Test harness for debugging process and container output using ContainerPilot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cp-logging

Use to debug logging through ContainerPilot.

  1. Add output to log into outputs/
  2. docker build -t cp-logging .
  3. docker run --name cptest cp-logging containerpilot
  4. Either look at docker logs or possibly output from triton-docker run itself.
  5. ContainerPilot will log output and complete.
  6. docker rm cptest when completed.

If you need a long running container then add a while true loop around the for loop inside the shell script. This should allow a container to continually output the same set of log files repeatedly.

This should also work the same way under Docker for Mac or Docker Machine.

About

Test harness for debugging process and container output using ContainerPilot.


Languages

Language:Shell 100.0%