diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2019-04-11 16:24:36 +0200 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2019-04-16 14:19:17 +0200 |
commit | 8aee0eede3cff78304000ac64768b224aad32045 (patch) | |
tree | 37d8595e722ec179ccf3c1945ad0f69772b3ce3f /ansible/test/images/docker/centos7 | |
parent | 747a8e202cf5f959206ad1af2bf38f7ea1a6440f (diff) |
Fix for running Molecule on Centos host
On Centos7.6 /dev/loop* device nodes are
created dynamically upon alocation (by default
there is no /dev/loop<N> device nodes) - this
has effect of failing to allocate those in
Docker container, even when run in privileged
mode.
Change-Id: If2c852de3a74ea7fe1df9f5c863f184b9bc13acb
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test/images/docker/centos7')
-rw-r--r-- | ansible/test/images/docker/centos7/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/test/images/docker/centos7/Dockerfile b/ansible/test/images/docker/centos7/Dockerfile index b36d58cb..67e3fb93 100644 --- a/ansible/test/images/docker/centos7/Dockerfile +++ b/ansible/test/images/docker/centos7/Dockerfile @@ -3,7 +3,7 @@ FROM centos/systemd RUN yum -y update && yum clean all RUN yum -y install openssh-server sudo openssh-clients \ - epel-release python-docker-py iproute + epel-release python-docker-py iproute e2fsprogs RUN systemctl enable sshd.service VOLUME ["/run"] |