Why does Docker use the same user and cgroup namespaces by default, when starting a new container? [migrated]

Why does Docker use the same user and cgroup namespaces by default, when starting a new container?

I don’t understand why Docker doesn’t set up a new user namespace, so that root in the container isn’t the same as root on the host.

Continue reading Why does Docker use the same user and cgroup namespaces by default, when starting a new container? [migrated]

Is it OK to use HTTP for internal communication between two micro-services deployed on AWS ECS fargate?

I have micro services deployed as AWS ECS Fargate containers. For internal communication they are using service discovery end point.

In my opinion, it is OK to use HTTP for internal communication. As I am not good at securi… Continue reading Is it OK to use HTTP for internal communication between two micro-services deployed on AWS ECS fargate?

How to execute a command directly on the host system through docker.sock in a Docker container?

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 comma… Continue reading How to execute a command directly on the host system through docker.sock in a Docker container?

Preserved Lemons On A Hacker’s Budget

“If you wish to make an apple pie from scratch, you must first invent the universe.” [Carl Sagan]. If you wish to make preserved lemons the same way as [Uri Tuchman], you have to start with that mentality. Video also below. The recipe for [Uri]’s preserved lemons involves two ingredients …read more

Continue reading Preserved Lemons On A Hacker’s Budget

Container Services In Azure, ITProTV – Enterprise Security Weekly #141

    Do you wonder how your team can save costs by lifting and shifting your existing applications to containers, and build micro-services applications to deliver value to your users faster? Use end-to-end developer and CI/CD tools to develop, update, a… Continue reading Container Services In Azure, ITProTV – Enterprise Security Weekly #141