This Alpine Linux container publish a samba server with authentication
288
This Alpine Linux container publish a samba server with authentication
Use version 1.0 for old OS with smbv1
SMB_USER, SMB_PASS, SMB_SHARE refers to the credentials and share name to expose.
services:
smb_server:
image: tamuxx/samba_server
container_name: smb_server
restart: unless-stopped
hostname: smb_server
environment:
- SMB_USER=username
- SMB_PASS=password
- SMB_SHARE=share_name_to_publish
volumes:
- /data_to_share/:/mnt
ports:
- 139
- 445
networks:
smb_bridge:
ipv4_address: 192.168.11.10
networks:
smb_bridge:
name: docker1
driver: bridge
ipam:
config:
- subnet: 192.168.11.0/24
driver_opts:
com.docker.network.bridge.name: docker1
Content type
Image
Digest
sha256:efba22744…
Size
18.5 MB
Last updated
over 2 years ago
docker pull tamuxx/samba_server