mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
local smb server script
This commit is contained in:
parent
5d37f6813d
commit
d642bd4b04
2 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"host": "skybox.icewind.link",
|
||||
"host": "172.17.0.2",
|
||||
"user": "test",
|
||||
"password": "test",
|
||||
"share": "test",
|
||||
"root": "test"
|
||||
"root": ""
|
||||
}
|
||||
|
|
|
|||
5
tests/start-server.sh
Executable file
5
tests/start-server.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
docker rm -f smb-test
|
||||
docker run -d --name smb-test -e ACCOUNT_test=test -e UID_test=1000 -e SAMBA_VOLUME_CONFIG_test="[test]; path=/tmp; valid users = test; guest ok = no; read only = no; browseable = yes" servercontainers/samba
|
||||
docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' smb-test
|
||||
Loading…
Add table
Add a link
Reference in a new issue