SecureDocker

Docker Security
Security considerations for Docker. Share your best practices.
CloudPassage
Q3. What are the key elements to consider when securing workloads at the container level?
Mitch Bishop
automation for one; orchestration has to be seamless with provisioning tools
anshu pande
Since both Container and Host share a lot of Host Hardware , we need to consider a lot to just securing workloads #securedocker
Eric Hoffmann
is it a decision point to focus securing efforts on the base-image vs per container? #securedocker
anshu pande
Will a #ghost like vulnerability in containers makes our host machines Vulnerable? #SecureDocker
Amrit DePaulo
.@anshupande if there is access to the container, which is highly likely, than an application level vuln or vuln in the shared services of the host will make the container vulnerable to exploit #securedocker
Daniel Walsh
Correct if your container gets hacked, you have to make sure that it is confined into the container.
Eric Hoffmann
@cloudpassage @anshupande I was able to exploit shellshock in an example app and get container access. I didn't try to access the host though was out-of-scope for my purposes #securedocker
Daniel Walsh
You need the best tools to wrap the container with security, See my articles on containing containers.
Amrit DePaulo
.@rhatdan you should provide the links, they were good articles
Daniel Walsh
Article 3 and 4 have been written and are going through the publishing process now.
CloudPassage
Q5. How should organizations approach #compliance concerns?
Amrit DePaulo
Compliance is woefully behind container technology, if you run apps in containers in scope for PCI will you need to run AV in every container? I don't think auditors are ready to answer these questions
anshu pande
#Containers are definitely disrupting a lot of IT today and with the pace it is being embrased we will figure out all these challenges. There is no looking back #securedocker
Daniel Walsh
We are working with out Certification people within Red Hat. But for now this is an unanswered question.
Daniel Walsh
Docker needs to do better auditing and logging to the host.
Daniel Walsh
But the Gov't want this. And we are looking to add these features.
Amrit DePaulo
@rhatdan As organizations push to use containers in cut-facing production environments, compliance will probably cause more angst then general security concerns
Daniel Walsh
Some changes are needed within the kernel to allow us to determine where the audit messages are coming from. Which namespace.
Daniel Walsh
Depends also on how you define a container. If you just say it is a privileged process running on the host, then Root==Root, it is less of a problem.
Daniel Walsh
It is only when people start arguing for different security domains, that this is a problem.
Daniel Walsh
BTW We have added MLS support to docker, so that MLS environments could run containers at different sensitivity levels.
CloudPassage
Q4. What are the deciding factors between using a public repository versus a private repository?
Daniel Walsh
Where do you put your trust. Containers need a good signing strategy, which they don't have currently.
Daniel Walsh
Also need to setup provenance. We are in some ways back to Linux 1999.
anshu pande
Making sure all important assets are secure while pushing to repo makes private repository an important consideration #SecureDocker
Daniel Walsh
Where instead of people grabbing random RPM/Installs from the internet they are grabbing container images.
Daniel Walsh
Think before you install an image, where did it come from? Can I trust it?
Eric Hoffmann
.@rhatdan you think people are just pulling the images, or pull and update? #securedocker
Ryan Thomas
and confirm trust after install #securedocker
Daniel Walsh
In the docker sense pulling an image, installs it.
Daniel Walsh
right now there is no way to confirm trust
Daniel Walsh
Hopefully docker will come to a standard or other container images can develop that can be signed by a known entity.
Daniel Walsh
We are working to add signing, but it is a difficult problem.
CloudPassage
Q1. Is container technology ready for mass production deployment?
Ryan Thomas
Q1 - I think its already in mass production, lots of folks are already doing cool things with Docker #securedocker
Kurt Milne
Google deploys something like one million containers a day - so yes probably ready for primetime... :)
Kurt Milne
But in enterprise - not sure if traditional IT ops is ready to support containers in production #securedocker
CloudPassage
@kurtmilne thanks for participating.
Mitch Bishop
@kurtmilne What does traditional IT ops need that isn't there now? #securedocker
anshu pande
Lot of startups already using it. It is a game changer
Eric Hoffmann
I'd agree, Google/Baidu and pushing millions a day. Will startups embrace it which tend not to have "traditional IT" #securedocker
Ryan Thomas
@kurtmilne Great point - are traditional IT Ops and security teams having to play catchup? What can they do
Kurt Milne
Many IT shops rely on virtal machine features like vmotion. #securedocker
Mac Jackson
There's a great infographic from @thecloudnetwork on the state of enterprise adoption http://bit.ly/1FIktg... #securedocker
Kurt Milne
if you put container in VM does it disrupt micro services type architecture? #securedocker
Kurt Milne
Many IT maybe not ready for "restart container" instead of "incident/problem" etc. #securedocker
Kurt Milne
@rtizzle catch up to what? Startup with no legacy systems to manage and maintain?
Kurt Milne
@rtizzle queue joke about startup IT not having the problem of a successful profitable business to deal with :)
Mac Jackson
Enterprises are starting to see the need for containers as a means of providing application portability... they're realizing how locked in they are to their #cloudcomputing providers without tools such as these #securedocker
Kurt Milne
trick will be for IT to not slow down developers as they figure things out behind the scenes #securedocker
Ryan Thomas
@MacMJackson that portability means controls and other measures should be portable as well #securedocker