December 3, 2015 · docker centos7 problem fix

Docker installation on CentOS 7

Docker plays nicely with CentOS7 but there is a catch.
After the installation it complains about wrong cgroups. To fix this do next. This is related to https://github.com/docker/docker/issues/16256

Open
/usr/lib/systemd/system/docker.service and modify the ExecStart line to

ExecStart=/usr/bin/docker daemon --exec-opt native.cgroupdriver=cgroupfs -H fd://  
  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus