hello
I want to secure my container from unauthorized access have any one have a solution for it?
I want that no one can access my container with the docker exec -it command without authorization.
hello
I want to secure my container from unauthorized access have any one have a solution for it?
I want that no one can access my container with the docker exec -it command without authorization.
Hi @m.asif.muzammil,
We don’t have this kind of future on docker, but you can secure the host himself
Regard
The challenge is that, with Docker, all the containers are managed and accessible via the main Docker processes and interfaces. Docker itself provides no segregation: if you can manage containers, you can manage them all.
Podman, an alternative to Docker, does provide what you want. Podman lets users A, B and C run their own containers, which can only be accessed by themselves. Of course, the root user will be an exception, since they can always mess with anything on a Unix system, but everybody should always lock down both root and sudo access.