Docker 1.0 CentOS 6.5 “unable to mount sys as readonly” when running image -
$ sudo docker run -i -t centos /bin/bash
get next error message:
2014/06/19 20:40:34 unable remount sys readonly: unable mount sys readonly max retries reached
added the next parameter /etc/sysconfig/docker , restarted service (sudo service docker restart)
other_args="--exec-driver=lxc"
my /etc/sysconfig/docker looks (the --selinux-enabled in there before)
other_args="--exec-driver=lxc" other_args="--selinux-enabled"
your /etc/sysconfig/docker
needs this:
other_args="--exec-driver=lxc --selinux-enabled"
otherwise not work.
centos docker centos6
No comments:
Post a Comment