You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try setup new container with data:/data volume, but configuration changes are probably deleted by backupConfig procedure in init.sh when container receives SIGTERM.
cd /root/docker/samba-addc/; docker-compose up -d
cd /docker/volumes/samba-addc_data/_data/var/lib/samba/; mkdir profiles; chown root:users profiles; chmod 1760 profiles
ls -ld profiles/
drwxrw---T 1 root users 0 Aug 15 17:51 profiles/
then: cd /root/docker/samba-addc/; docker-compose down ls -ld /docker/volumes/samba-addc_data/_data/var/lib/samba/profiles/
ls: cannot access '/docker/volumes/samba-addc_data/_data/var/lib/samba/profiles/': No such file or directory
I try setup new container with data:/data volume, but configuration changes are probably deleted by backupConfig procedure in init.sh when container receives SIGTERM.
cd /root/docker/samba-addc/; docker-compose up -d
cd /docker/volumes/samba-addc_data/_data/var/lib/samba/; mkdir profiles; chown root:users profiles; chmod 1760 profiles
ls -ld profiles/
drwxrw---T 1 root users 0 Aug 15 17:51 profiles/
then:
cd /root/docker/samba-addc/; docker-compose down
ls -ld /docker/volumes/samba-addc_data/_data/var/lib/samba/profiles/
ls: cannot access '/docker/volumes/samba-addc_data/_data/var/lib/samba/profiles/': No such file or directory
docker-compose.yml:
version: '3'
volumes:
data:
services:
samba:
image: burnbabyburn/docker-samba-dc:latest
container_name: samba
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- data:/data
# - data:/var/lib/samba
# - config:/etc/samba/external
# - gpo:/gpo
environment:
- DOMAIN=VRBA.LAN
- DOMAIN_PASS=123Qwer
- DOMAIN_PWD_COMPLEXITY=off
- ENABLE_DNSFORWARDER=192.168.100.254
- HOSTIP=192.168.100.252
- ENABLE_DYNAMIC_PORTRANGE=49152-49172
- DOMAIN_NETBIOS=VRBA
- NTPSERVERLIST=tak.cesnet.cz 0.cz.pool.ntp.org 1.cz.pool.ntp.org 2.cz.pool.ntp.org
ports:
- 192.168.100.252:53:53
- 192.168.100.252:53:53/udp
- 192.168.100.252:88:88
- 192.168.100.252:88:88/udp
- 192.168.100.252:123:123
- 192.168.100.252:123:123/udp
- 192.168.100.252:135:135
- 192.168.100.252:137-138:137-138/udp
- 192.168.100.252:139:139
- 192.168.100.252:389:389
- 192.168.100.252:389:389/udp
- 192.168.100.252:445:445
- 192.168.100.252:464:464
- 192.168.100.252:464:464/udp
- 192.168.100.252:636:636
- 192.168.100.252:1024-1044:1024-1044
- 192.168.100.252:3268-3269:3268-3269
- 192.168.100.252:49152-49172:49152-49172
dns_search:
- vrba.lan
dns:
- 127.0.0.1
extra_hosts:
- dc1.vrba.lan:192.168.100.252
hostname: dc1
cap_add:
- NET_ADMIN
- SYS_NICE
- SYS_TIME
# devices:
# - /dev/net/tun
privileged: true
restart: always
The text was updated successfully, but these errors were encountered: