[PATCH compass-ci] fix(os-cifs): solve the problem that os-rw dir cannot be written

1. The writability of the os-rw dir should be controlled by smb.conf. So modify the mount param of /srv/os volume from ro to rw; 2. Because smb.conf only uses the /srv/os dir. So delete the useless volume: /srv/os-rw. Signed-off-by: Yu Chuan <13186087857@163.com> --- container/os-cifs/start | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/container/os-cifs/start b/container/os-cifs/start index 6688e271ec3c..cd33e207c709 100755 --- a/container/os-cifs/start +++ b/container/os-cifs/start @@ -13,9 +13,8 @@ docker_rm samba cmd=( docker run -dt -p 445:445 - -v /srv/os:/srv/os:ro + -v /srv/os:/srv/os -v /etc/localtime:/etc/localtime:ro - -v /srv/os:/srv/os-rw -v /srv/initrd:/srv/initrd -v /srv/result:/srv/result --name samba -- 2.23.0
participants (1)
-
Yu Chuan