Docker 1.0 CentOS 6.5 "failed to install sys as readonly" when starting the image

$ sudo docker run -i -t centos / bin / bash

Get the following error message:

2014/06/19 20:40:34 reboot failed sys readonly: sys could not be mounted because read-only reached.

The following option is added to / etc / sysconfig / docker and the service is restarted (reloading the supo service)

other_args = "- exec-driver = lxc"

My / etc / sysconfig / docker looks like this (there used to be the -selinux-enabled option)

other_args = "- Exec-driver = LXC" other_args = "- SELinux with support"

+4
source share
2 answers

/etc/sysconfig/docker :

other_args="--exec-driver=lxc --selinux-enabled"

.

+10

, 1.0 0.11 RHEL 6.5

- selinux /etc/sysconfig/docker, --exec-driver = lxc conatainers.

+1

Source: https://habr.com/ru/post/1545283/


All Articles