Skip to content

Instantly share code, notes, and snippets.

@hayderimran7
Created July 12, 2015 06:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hayderimran7/d2e40534016f7f07da44 to your computer and use it in GitHub Desktop.
Save hayderimran7/d2e40534016f7f07da44 to your computer and use it in GitHub Desktop.
Solve docker issue "Error mounting devices cgroup: mountpoint for devices not found" on ubuntu
I faced this issue when running docker with btrfs. I finally found this link https://www.debian-administration.org/article/696/A_brief_introduction_to_using_docker and solution was at A3.
so perform following as sudo :
> sudo -i
> echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /etc/fstab
> mount /sys/fs/cgroup
now run docker daemon:
> docker -d &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment