Public Repository

Last pushed: 2 years ago
Short Description
An example that demonstrates an autologging.logged & autologging.traced app running under Docker.
Full Description


Get the latest image:
$ docker pull mzipay/autologging-issue-1

Examine the source code (just a single file app):
$ docker run mzipay/autologging-issue-1 "cat" "/src/"

Run the image directly to see the logging output emitted to the console
every two seconds (press Ctrl-C to terminate):
$ docker run mzipay/autologging-issue-1

Create and start a container for the image:
$ docker create --name=autologging-issue-1-container mzipay/autologging-issue-1
$ docker start autologging-issue-1-container

Follow the log entries that are emitted:
$ docker logs -t -f autologging-issue-1-container

Finally, stop the container:
$ docker stop autologging-issue-1-container

Docker Pull Command