- systemctl stop docker
- verify its off ps -ef | grep docker
- edit the config file
- vim /etc/sysconfig/docker - modify the following line to:
-OPTIONS='--selinux-enabled -g /path/to/your/folder' - Save and close
- systemctl start docker
Tested on: CentOS 7.2
Source: Link
No comments:
Post a Comment