Trying to use LXC/Docker on Arch Linode
4 Replies
If you'd like to use the memory controlling feature of Docker, you'd need to use a custom kernel:
With regard to cgroups themselves, they aren't mounted in /etc/fstab; you may want to check the output of 'mount'.
- Les
You're saying I should really have any issues using docker out of the box? I know that cgroup has to be mounted per the Arch Wiki. So… I was wondering if I'd have to create a partition for it or what. I don't really want to roll a custom Kernel. What difficulties if any will I encounter by not having memory management for Docker?
Like, what if I want to run 3 websites on my Linode, all in separate Linux containers? Will I be good?
If you don't have the memory cgroup, the only affect it will have on your Docker usage is that you can't limit a container's RAM usage via cgroups. You're still able to use whatever options the daemon itself provides for limiting RAM usage.
- Les