Howto Samba

From Vidalinux Wiki
Revision as of 16:56, 8 January 2024 by Mandulete1 (talk | contribs)
Jump to navigation Jump to search

install docker

first we need to install docker and docker compose:

https://wiki.vidalinux.org/index.php/Howto_docker

deploy samba container

clone the following repo from github:

git clone https://github.com/vidalinux/docker.git

enter docker-samba directory:

cd docker/docker-samba

if you want to change container parameters you need to edit docker-compose.yml file:

vi docker-compose.yml

deploy samba container using docker-compose:

docker-compose up -d

view containers deployment log using this command:

docker-compose logs -f

mount samba share

show the samba share name with the following commmand:

smbclient -L localhost

output results for this command: lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated

Password for [WORKGROUP\root]:
Anonymous login successful

	Sharename       Type      Comment
	---------       ----      -------
	share           Disk      samba share
	IPC$            IPC       IPC Service (Samba Server)
SMB1 disabled -- no workgroup available