From b751c36e0dd4da475ed8a23a8f66fa537dce8d48 Mon Sep 17 00:00:00 2001 From: BorislavG Date: Thu, 7 Sep 2017 18:59:38 +0300 Subject: Fix config-init docker volume mapping on nfs On some kubernetes deployments there is a conflict when a volume in docker image is mounted in kubernetes over NFS. files / directories created inside the container are not visible inside / outside of the container. Removing VOLUME declaration from the Dockerfile solve this problem. Change-Id: I05081a21a64c08e7ad19403a80ad1195a5bd8cb4 Issue-ID: OOM-290 Signed-off-by: BorislavG --- kubernetes/config/docker/init/Dockerfile | 1 - 1 file changed, 1 deletion(-) (limited to 'kubernetes') diff --git a/kubernetes/config/docker/init/Dockerfile b/kubernetes/config/docker/init/Dockerfile index 9f6a3632b7..a1eb021b69 100644 --- a/kubernetes/config/docker/init/Dockerfile +++ b/kubernetes/config/docker/init/Dockerfile @@ -1,7 +1,6 @@ from ubuntu:16.04 RUN mkdir -p /opt/config/src/ -VOLUME /config-init/ COPY onap-cfg.tar.gz /tmp/ RUN tar -zxvf /tmp/onap-cfg.tar.gz -C /opt/config/src/ -- cgit 1.2.3-korg