pcp
[Top] [All Lists]

Re: pmcd container helper utility

To: Nathan Scott <nathans@xxxxxxxxxx>, Neependra Khare <nkhare@xxxxxxxxxx>, Lukas Berk <lberk@xxxxxxxxxx>
Subject: Re: pmcd container helper utility
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu, 12 Mar 2015 18:26:23 +1100
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <954189590.4400007.1426137043985.JavaMail.zimbra@xxxxxxxxxx>
References: <954189590.4400007.1426137043985.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 03/12/2015 04:10 PM, Nathan Scott wrote:
Hi guys,

Hacking a bit further with Mark's Dockerfile so far, how about
this to get a pmcd container started using an unmodified PCP?

The Dockerfile needs to touch /etc/pcp/rc.pause for this to
take effect.  Actually, Mark, could you commit the Dockerfile
you have so far somewhere for everyone to share?  build/rpm/
(or a clean subdir there) might be a good home since it uses
Fedora-specific bits?  And maybe a comment or two about all
those docker command line options to get people started?

ok I've committed it to build/containers/pcp-pmcd/Dockerfile.
The build will touch $PCP_ETC_DIR/pcp/rc.pause and the CMD
runs "$PCP_RC_DIR/pmcd start" so it relies on your patch to
the rc script in order to pause rather than exit (the container
exits when the CMD exits or is killed with a SIGKILL).

Cheers
-- Mark

<Prev in Thread] Current Thread [Next in Thread>