Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
--cgroup-parent is coming to Docker 1.6.0 #25
Sorry to report the --cgroup-parent does nothing but rename the scope on systemd. For systemd it's a useless feature. In Docker 1.7 it will hopefully change. More info here docker/libcontainer#549 but it won't address what systemd-docker does.
There is a separate PR in Docker 1.7 moby/moby#10427 that will actually make systemd-docker work much much better. Ironically it disables the use of the systemd cgroup manager but this allows us to launch Docker containers in systemd that doesn't involve manually changing cgroups.
I have docker 1.6 installed
but I don't see option of -cgroup-parent, can somebody help me with an example too.
A self-sufficient runtime for linux containers.
Run 'docker COMMAND --help' for more information on a command.
docker run --help
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
-a, --attach= Attach to STDIN, STDOUT or STDERR
referenced this issue
Jun 8, 2015
@ibuildthecloud That sounds great. A pair of followup questions:
@ibotty I use that