Access Folders/Hard Drives Over WiFi (Samba + Docker)
Автор: Madhu
Загружено: 2023-01-12
Просмотров: 20533
This video will teach you how to create network shares using samba. Samba is a linux program that allows you to share folders and hard drives across the network to access them from any device. Docker lets you containerize this application and run it on any device. You can run this samba docker container on windows, mac, and linux. You can even do this on a raspberry pi running any linux distro. That's the beauty of Docker. Scroll down for links mentioned in the video.
Subscribe to see more tech content!
♫ Music - Onion Prod. by LuKremBo: • lukrembo - onion (no copyright music)
♫ Outro Music - Herbal Tea by Artificial.Music: • Herbal Tea
My Website - https://madhukraft.com
Socials - https://madhukraft.com/socials
Insta - / madhukraft
Twitter - / madhukraft
Discord Server - / discord
Merch - https://teespring.com/stores/madhukraft
Dual PC Setup Tricks Playlist:
• Dual PC Setup
create-users.sh:
#!/bin/bash
for i in $(seq 1 "${user_count}")
do
eval user=\$user$i
eval password=\$password$i
adduser --disabled-password "$user"
(echo $password; echo $password) | smbpasswd -a $user
done
smbd
Default smb.conf file:
[global]
un comment the line under for ip whitelisting
hosts allow = ipaddress1 ipaddress2 ipaddress3
workgroup = WORKGROUP
server role = standalone server
map to guest = bad user
usershare allow guests = no
To access the shares on your phone, I reccomended using Owlfiles instead of Documents
iOS Owlfiles - https://apps.apple.com/us/app/owlfile...
Android Owlfiles - https://play.google.com/store/apps/de...
iOS Documents by Readle: https://apple.co/3XqhkiY
Timestamps:
0:00 Intro
0:56 Creating the Samba Docker Image
2:57 Creating the create-users.sh script
4:05 Building the Samba Docker Image
4:51 Pasting the Default Samba Config File
5:18 Configuring the docker-compose File
9:13 Configuring the Default Samba Config File
10:49 Running the Docker Container
11:36 Testing out the Samba Server
13:24 Connecting on Windows by Mounting the Share
14:11 Connecting on Windows Using a Shortcut
14:38 Connecting on MacOS
15:04 Connecting on iOS
15:41 Connecting on iOS in the Files App
16:08 Outro
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: