Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Docker looks up in wrong directory for cgroups settings #15095
Comments
thaJeztah
added
the
system/lxc
label
Jul 28, 2015
|
ping @ashahab-altiscale is this your area, or should I ping someone else? :-) |
optimisticanshul
commented
Jul 28, 2015
|
@ashishbista can you try
|
ashishbista
commented
Jul 29, 2015
|
@justanshulsharma The command worked and created a container but, I doubt it actually limited the memory for the container.
|
ashishbista
commented
Jul 29, 2015
|
Never mind, I read the doc and understand why it is showing up the details of host machine. |
ashishbista
closed this
Jul 29, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ashishbista commentedJul 28, 2015
I'm trying to limit the memory size for containers. I'm running Docker with
exec-driver lxc. It looks like Docker is looking in the wrong directory for cgroups settings.Docker:
sudo docker -d -e lxcdocker version:docker info:uname -a:Server Type: Physical
Command used to create a container:
sudo docker run --lxc-conf="memory.limit_in_bytes = 10000" -i -t ubuntu_trusty /bin/bashLog:
Steps to reproduce the issue:
sudo docker -d -e lxcsudo docker run --lxc-conf="memory.limit_in_bytes = 10000" -i -t ubuntu_trusty /bin/bash