mirror of
https://github.com/dockur/windows-arm.git
synced 2024-11-07 06:31:49 +00:00
fix: Log samba to stdout (#50)
This commit is contained in:
parent
fa106aa3b7
commit
9f7667c613
3 changed files with 9 additions and 3 deletions
|
@ -3,6 +3,8 @@ services:
|
|||
windows:
|
||||
container_name: windows
|
||||
image: dockurr/windows-arm
|
||||
environment:
|
||||
VERSION: "win11"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
cap_add:
|
||||
|
|
|
@ -29,6 +29,8 @@ services:
|
|||
windows:
|
||||
container_name: windows
|
||||
image: dockurr/windows-arm
|
||||
environment:
|
||||
VERSION: "win11"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
cap_add:
|
||||
|
|
|
@ -23,7 +23,7 @@ SAMBA="/etc/samba/smb.conf"
|
|||
echo " security = user"
|
||||
echo " guest account = nobody"
|
||||
echo " map to guest = Bad User"
|
||||
echo " server min protocol = SMB2"
|
||||
echo " server min protocol = NT1"
|
||||
echo ""
|
||||
echo " # disable printing services"
|
||||
echo " load printers = no"
|
||||
|
@ -41,7 +41,7 @@ SAMBA="/etc/samba/smb.conf"
|
|||
echo " force group = root"
|
||||
} > "$SAMBA"
|
||||
|
||||
{ echo "--------------------------------------------------------"
|
||||
{ echo "--------------------------------------------------------"
|
||||
echo " $APP for Docker v$(</run/version)..."
|
||||
echo " For support visit $SUPPORT"
|
||||
echo "--------------------------------------------------------"
|
||||
|
@ -61,7 +61,9 @@ SAMBA="/etc/samba/smb.conf"
|
|||
echo ""
|
||||
} | unix2dos > "$SHARE/readme.txt"
|
||||
|
||||
smbd -D
|
||||
! smbd && smbd --debug-stdout
|
||||
|
||||
# Enable Web Service Discovery
|
||||
wsdd -i dockerbridge -p -n "host.lan" &
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue