I've been studying Docker security and examining ways of escaping from container to host.
Suppose Docker sock (
docker.sock) is mounted into the container at
/var/run/docker.sock, so that Docker client (
docker) can send commands to Docker daemon (
To execute commands on the host, I could run another container and mount
/etc/ into it (read-write) to schedule CRON jobs; is it possible to mount
/etc/ into the current container?
What other methods are there for executing commands on the host through