This is pretty functional now, and ready for some review, feedback
and discussion. There's enough here to deploy pmcd, pmlogger and
monitoring tools on any docker server. There is no container layering
yet - best if we get the basics going first.
To get started, pull it into a branch and then thoroughly read
build/containers/README. It's not yet integrated into the main
build but most of the required infrastructure is there.
Changes committed to git://pcp.io/markgw/pcp/pcp.git master
commit 19957166fac9ff1a5e3f9ce411c5cf6ad3c794d9
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue May 26 19:14:16 2015 +1000
More tweaks to docker files, and add pcp-testsuite container.
After much mucking around - can't docker-exec into an existing
running container unless it is run with --pid=host. Running a
bash shell via "docker exec -it pcp-collector /usr/bin/bash"
into a running pcp-collector container is the way we configure
optional PMDAs (at least for now, pending more work in this area).
modified: build/containers/GNUmakefile
modified: build/containers/README
modified: build/containers/pcp-collector/Dockerfile
modified: build/containers/pcp-collector/GNUmakefile
modified: build/containers/pcp-monitor/Dockerfile
modified: build/containers/pcp-monitor/GNUmakefile
modified: build/containers/pcp-pmlogger/Dockerfile
modified: build/containers/pcp-pmlogger/GNUmakefile
new file: build/containers/pcp-testsuite/Dockerfile
new file: build/containers/pcp-testsuite/GNUmakefile
commit 674b6751d5b069069a732dd4f1b3d780f5d533ec
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue May 26 13:51:16 2015 +1000
New docker files and build infrustructure.
Rename the pcp-pmcd container to pcp-collector, and add two new containers:
pcp-monitor and pcp-pmlogger. Also adds build infrastructure and a script to
extract the RUN label and then launch with docker-run(1).
For details, see build/containers/README.
new file: build/containers/GNUlocalrules
new file: build/containers/GNUmakefile
new file: build/containers/README
new file: build/containers/pcp-collector/Dockerfile
new file: build/containers/pcp-collector/GNUmakefile
new file: build/containers/pcp-monitor/Dockerfile
new file: build/containers/pcp-monitor/GNUmakefile
new file: build/containers/pcp-pmlogger/Dockerfile
new file: build/containers/pcp-pmlogger/GNUmakefile
new file: build/containers/scripts/pcp-docker-run
deleted: build/containers/pcp-pmcd/Dockerfile
|