K
K
Kroid2014-11-16 15:17:10
Virtualization
Kroid, 2014-11-16 15:17:10

How isolated is a docker container?

Is it possible from inside a docker container (for example, by connecting to it via ssh) to get access to the server on which this container is running (except when this is done on purpose, such as sharing a certain directory)? Is it safe to give anyone root access to a running container if you don't care about the container but don't care about the server?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Evseev, 2014-11-16
@Kroid

It is safe to install all security updates for the Linux kernel immediately.
Otherwise, there is a risk that exploit will be launched in the container, which makes it possible to exit the container, gain superuser rights, etc.

B
brutal_lobster, 2014-11-17
@brutal_lobster

It's hard to give to anyone in principle) Isolation is not complete, the core is common ..
Security updates or limited rights will not give a guarantee - unless the scriptkiddy can not be broken right away. Although it may not be necessary anymore)
Yes, and they can start some kind of crap - abuses and bans will pour in ..
Monitoring, total control and backups at a higher level are required.
+ I recommend to get acquainted with the experience of openshift and the company)
www.youtube.com/watch?v=3gkEfzja4wc

S
Seryoga, 2015-06-05
@sirocco

And how can you find out the processes of the server on which it is running from the docker container?
Docker is running on Synology, in an OpenWRT docker container, how can I find out Synology processes from OpenWRT?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question