Author Archives: Victor Vieux
Author Archives: Victor Vieux
The hardworking folk at Docker, Inc. are proud to announce the release of version 1.2.0 of Docker. We’ve made improvements throughout the Docker platform, including updates to Docker Engine, Docker Hub, and our documentation.
Highlights include these new features:
restart policies
We added a --restart
flag to docker run
to specify a restart policy for your container. Currently, there are three policies available:
This deprecates the --restart
flag on the Docker daemon.
docker run --restart=always redis
docker run --restart=on-failure:5 redis
–cap-add –cap-drop
Currently, Docker containers can either be given complete capabilities or they can all follow a whitelist of allowed capabilities while dropping all others. Further, previously, using --privileged
would grant all capabilities inside a container, rather than applying a whitelist. This was not Continue reading