ftp server never been easier in docker environment user access restriction in less than 10 mins 2023

  Рет қаралды 11,244

medium guy

medium guy

Күн бұрын

Пікірлер: 31
@GershonKagan-n7z
@GershonKagan-n7z Жыл бұрын
You don't have to use network_mode: host and you can use the standard commented out lines if you simply enclose 21:21 in double quotes, like: "21:21". The docker compose file syntax documentation says any port number below 60 will be interpreted as base 60, unless enclosed in quotes.
@raghunandanrshenoy8248
@raghunandanrshenoy8248 Жыл бұрын
Well structured video, hoping to learn more from you😊
@MochFaisal-m8g
@MochFaisal-m8g 5 ай бұрын
Thx dude, eazy peasy build ftp server in docker hahaha
@mediumguy6
@mediumguy6 5 ай бұрын
thanks for the comment 👍
@alisobhani9188
@alisobhani9188 Жыл бұрын
Very good and useful, Thanks
@EgydioNeto
@EgydioNeto 11 ай бұрын
Thanks bruh, u save me
@erajzehra5915
@erajzehra5915 Жыл бұрын
I followed same steps as mentiond in video on windows OS. But I am unable to coonect with filezilla. I also tried to connect with WinScp but no luck. Can someone guide?
@mediumguy6
@mediumguy6 Жыл бұрын
hey, i havent tried it on windows but it should be the same since it is docker I think just make sure ur windows firewall allows the port u try to connect to and that u bind the port to 0.0.0.0 let me know if u got any problems
@_skeptik
@_skeptik Жыл бұрын
Using network_mode: host helped but i have no idea why. maybe my docker installation lacks some priveleges
@mediumguy6
@mediumguy6 Жыл бұрын
i also had problem when mapping the port had things working also with network_mode: host couldn't really figure out the reason
@dguedel
@dguedel Жыл бұрын
Is it possible to give the same user rights for subdirectories or must a separate user be defined for each directory?
@mediumguy6
@mediumguy6 Жыл бұрын
If I understood your question correctly It's like when u hit chown -R dir_name It applies for directory and all files and subdirectories inside dir_name -R standing for recursive
@dguedel
@dguedel Жыл бұрын
@@mediumguy6 Thank you for your quick reply. I was not aware that I had to do this manually outside of the Docker container. Since I only have one FTP user, I have assigned the top-level directory FTP to the user. This means that he also has the same rights for the subfolders in the FTP directory.
@mediumguy6
@mediumguy6 Жыл бұрын
@@dguedel look it is possible that in the first time the container is being created the permissions for some files or directories get changed. And it's only for once So u should do the command chown recursively to fix this Let me know if there's anything else
@golvellius6855
@golvellius6855 8 ай бұрын
can you make a video on how to do tsl ftp using this compose? that will be great thank you
@erajzehra5915
@erajzehra5915 Жыл бұрын
Hi, Is it possible to customize the image and instead of defining users in docker compose file. define multiple users in seperate file and just mount in docker compose file. If yes any help will be appreciated.
@mediumguy6
@mediumguy6 Жыл бұрын
hey whats the reason to do that? I might throw better solutions if u tell me what exactly u want to achieve eventually
@erajzehra5915
@erajzehra5915 Жыл бұрын
@@mediumguy6 i want to make a seperate file for users. And mount that in docker compose rather than to define users and password in docker compose file. I am doing this because of security of user and password.
@mediumguy6
@mediumguy6 Жыл бұрын
​@@erajzehra5915 ok so u can add USERS=x to a .env file and set it as env_file in docker compose file let me know if it's a solution u wanted
@erajzehra5915
@erajzehra5915 Жыл бұрын
I already tried this but doesn't work.
@mediumguy6
@mediumguy6 Жыл бұрын
@@erajzehra5915 it's env variable it should work I'm sure u go somewhere wrong can u share ur config file and .env file content
@kecske_gaming
@kecske_gaming Ай бұрын
I have an error while reading directory
@mediumguy6
@mediumguy6 29 күн бұрын
can u provide with some details at all
@golvellius6855
@golvellius6855 8 ай бұрын
currently doing this but i want tsl support , btw thanks for the video
@kainze
@kainze Жыл бұрын
in my case all users still have permission to see the root directory, in my opinion that should not be.
@mediumguy6
@mediumguy6 Жыл бұрын
Then you would have to change permissions on ur root directory Because by default any user created on os will have read permissions on root directory too
@joeycoston7692
@joeycoston7692 Жыл бұрын
"without any delay" my guy, your intro is a minute long 💀
@mediumguy6
@mediumguy6 Жыл бұрын
Thanks for the comment
@joeycoston7692
@joeycoston7692 Жыл бұрын
@@mediumguy6 the rest of the video was very helpful 😃
@mediumguy6
@mediumguy6 Жыл бұрын
@@joeycoston7692 thank you so much for the positivity. thats my goal to be help to everyone
FTP (File Transfer Protocol), SFTP, TFTP Explained.
7:54
PowerCert Animated Videos
Рет қаралды 1,5 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 484 М.
an FTP server on a docker container
9:21
IT techni
Рет қаралды 313
my FAVORITE Home Server Dashboard - Homarr Setup in Docker
16:46
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 342 М.
Don't use local Docker Volumes
12:43
Christian Lempa
Рет қаралды 188 М.