public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason Zaman <perfinion@gentoo.org>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] Re: docker updates
Date: Sat, 28 Feb 2015 11:19:37 +0800	[thread overview]
Message-ID: <20150228031937.GB8074@meriadoc.perfinion.com> (raw)
In-Reply-To: <20150227180452.GE6224@home.power>

On Fri, Feb 27, 2015 at 08:04:52PM +0200, Alex Efros wrote:
> Hi!
> 
> On Fri, Feb 27, 2015 at 10:38:34AM -0600, Alex Brandt wrote:
> > Somewhat sarcastic but actually true.  I don't recommend running 
> > production applications inside of Gentoo based containers.
> 
> This makes sense for Gentoo, but my question was CC: to this list not as
> off-topic, my host will be Hardened Gentoo, so kernel used by docker
> images will support GrSecurity&PaX, and I wanna have protection provided
> by hardened gcc for binaries run inside docker images.
> 
> > I highly recommend making containers as small as possible.  That 
> > means using statically linked executables and removing all 
> > traces of what we know as a distribution.  Production containers 
> > should not be based on Gentoo images.
> 
> Okay, not sure why it's so important, but this doesn't change anything -
> these statically linked executables without any traces of Gentoo still
> should be compiled with hardened gcc.
> 
> > docker pull ${NEW_IMAGE}
> 
> So, what $NEW_IMAGE should be to let me get small nice image with
> up-to-date binaries built with hardened gcc? :-)

I am not that familiar with docker, but I thought the idea was that you
build your own container images with your requirements? ie re-build the
image just once on only one server and then send it around to all the
others.

Alternatively, if you did not want to re-build the images themselves,
you could always setup a gentoo binhost on one machine and make all the
other containers pull those packages so there will not be the wasted
time compiling.

-- Jason
> 
> -- 
> 			WBR, Alex.
> 


      reply	other threads:[~2015-02-28  3:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 20:11 [gentoo-hardened] docker updates Alex Efros
2015-02-26  7:53 ` Sven Vermeulen
2015-02-26 10:35   ` F. Alonso
2015-02-27  1:20     ` Alex Efros
2015-02-28  2:58       ` eric gisse
2015-02-28  7:36         ` Sven Vermeulen
2015-02-27 16:38 ` [gentoo-hardened] " Alex Brandt
2015-02-27 18:04   ` Alex Efros
2015-02-28  3:19     ` Jason Zaman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150228031937.GB8074@meriadoc.perfinion.com \
    --to=perfinion@gentoo.org \
    --cc=gentoo-hardened@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox