dperson / samba

Samba docker container
GNU Affero General Public License v3.0
1.52k stars 514 forks source link

Migrating an existing Samba instance from the host to a docker container #406

Open Eirikr70 opened 2 years ago

Eirikr70 commented 2 years ago

Hello, This might not be the right place to ask and I apologize in advance in that case. I would like to migrate an existing instance from the host to a docker-compose container. I have tried mouting a volume for the data, another for the smb.conf file, another for the private directory, and another for each directory that appears in the smb.conf file, but it didn't work. Do you have an example of a docker-compose.yml file for such migrations ? Thanks

Eirikr70 commented 2 years ago

I have tried that one with no success. `version: '3.4'

services: samba: image: dperson/samba:latest container_name: samba ports: