Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker #72

Open
westonbelk opened this issue Mar 29, 2017 · 6 comments
Open

Docker #72

westonbelk opened this issue Mar 29, 2017 · 6 comments

Comments

@westonbelk
Copy link
Contributor

Add information and examples on how to administrate, secure, and use docker containers.

Possibly create and file under a new section for containers.

@robertu94
Copy link
Contributor

robertu94 commented Mar 29, 2017

Docker cannot be used for security. The fundamental issue is that Linux does not have proper user-namespace or sys-v ipc namespace support. CONFIG_USER_NS (if it is even enabled on your distribution; redhat/centos for a long time did not) brings the kernel closer to supporting proper jailed environments, but not all aspects of the kernel properly check whether or not the user is namespaced which allow for root user privilege escalation and container escaping.

Additionally Docker does NOT support older distributions very well. From past experience trying to do this without a time crunch, you will be pulling your hair out trying to install it during competitions.
@fkmclane I would recommend closing this issue.

@westonbelk
Copy link
Contributor Author

A machine we are getting for PCDC 2017 will have containers of some sort according to the network diagram so I thought it would be useful to include information on how to interact with them. This isn't intended for setting them up for securities sake, but rather for dealing with some that we may inherit and have to maintain during the competition

@westonbelk
Copy link
Contributor Author

It would be useful to note that they should not be used for security due to the reasons you listed

@robertu94
Copy link
Contributor

robertu94 commented Mar 29, 2017 via email

@robertu94
Copy link
Contributor

robertu94 commented Mar 29, 2017 via email

@lilyinstarlight
Copy link
Contributor

lilyinstarlight commented Mar 29, 2017

@robertu94 To clarify, we have a "Debian Container Server" which will presumably be running Docker.

@westonbelk As far as securing Docker goes, Robert is right in that you inherently can't secure Docker. Our focus should likely be on securing the containerized application either through reverse proxy or other means of isolating the services on it to reduce surface area. I would opt to not thoroughly discuss containers in the hackpack as there is no information we could put that would be helpful. The helpful information would be on the services themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants