Merge pull request #62 from animeshk08/samba-image

test: Update samba docker image
This commit is contained in:
Kubernetes Prow Robot 2020-07-10 20:21:21 -07:00 committed by GitHub
commit ada407fd45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ readonly dirname="/tmp/$(date +%s)"
mkdir "$dirname"
export PERMISSIONS=0777
docker run -it --name samba -p 445:445 -v "$dirname":/mount -d dperson/samba -u "username;test" -s "share;/mount/;yes;no;yes;all;none" -p
docker run -it --name samba -p 445:445 -v "$dirname":/mount -e ACCOUNT_USERNAME='test' -e SAMBA_VOLUME_CONFIG_username='[share]; path=/mount/; guest ok = yes; read only = no; browseable = yes' -d servercontainers/samba
function cleanup {
echo 'stop and delete samba container'
docker stop samba