Dockerfile privileged flag for Docker container (Needed because of Apache error ulimit ) AWS
- 阅读更多 关于 Dockerfile privileged flag for Docker container (Needed because of Apache error ulimit ) AWS
问题 I would like to start a container with privileges. Manually I can do that directly by typing: sudo docker run -privileged name/image But how can I generated a container from a Dockerfile with privileges, is there any command to do that in the dockerfile? In my case I am doing a deployment in amazon, in case it can not be done from a Dockerfile can it be done from the Dockerrun.aws.json? PS. To give some context to the question, I need privileges in the docker container to be able to change