You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker images cannot have files with capability bits set. This reduces the risk of Docker containers using capabilities to escalate privileges.
Is the Docker labs security information outdated then, as it is in conflict with your blog post and example? Are there different filesystems used when unpacking a container image for execution, so file capabilities might get ignored?
The text was updated successfully, but these errors were encountered:
I do note that article is 2 years old and there has been a lot of work on docker build since (see buildx etc). I think things have just changed since it was written.
Thanks for opening the issue though - you had me worried for a minute :)
I'm going to close this as I think it's pretty clear you can have capabilities in Docker images.
https://github.com/docker/labs/tree/master/security/capabilities#tips says:
Is the Docker labs security information outdated then, as it is in conflict with your blog post and example? Are there different filesystems used when unpacking a container image for execution, so file capabilities might get ignored?
The text was updated successfully, but these errors were encountered: