Description of problem:
If you put /var/lib/docker on a btrfs filesystem, Docker switches to using the btrfs storage engine. However, if you stop the docker service, it unmounts /var/lib/docker which means if you start it again, the btrfs filesystem is gone and it switches to using device-mapper on the wrong filesystem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a btrfs filesystem
2. Mount the btrfs filesystem on /var/lib/docker
3. Start docker
4. Check the storage engine is btrfs via "docker info"
5. Stop docker
btrfs filesystem at /var/lib/docker is unmounted
btrfs filesystem should remain mounted after docker stops.
I believe this is fixed in docker-1.1-2
It's okay for me if does it without selinux in docker-1.1.2-6.el7.x86_64, but i still want to keep the bug status as the scenario lack of selinux supporting.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.