{"id":24698,"date":"2025-04-19T10:31:38","date_gmt":"2025-04-19T02:31:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/24698.html"},"modified":"2025-04-19T10:31:38","modified_gmt":"2025-04-19T02:31:38","slug":"%e5%9c%a8-ubuntu-%e4%b8%8b%e9%80%9a%e8%bf%87-docker-%e9%83%a8%e7%bd%b2-ftp-%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/24698.html","title":{"rendered":"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668"},"content":{"rendered":"<p>\u5728\u4eca\u5929\u7684\u6280\u672f\u63a2\u9669\u4e2d&#xff0c;\u6211\u4eec\u5c06\u4f7f\u7528 Docker \u5728 Ubuntu \u4e0a\u90e8\u7f72\u4e00\u4e2a FTP \u670d\u52a1\u5668\u3002\u8fd9\u4e0d\u4ec5\u80fd\u63d0\u5347\u6587\u4ef6\u4f20\u8f93\u7684\u6548\u7387&#xff0c;\u8fd8\u80fd\u8ba9\u4f60\u5728\u7ba1\u7406\u4e0a\u6e38\u5203\u6709\u4f59\u3002Docker \u7684\u7075\u6d3b\u6027\u548c vsftpd \u7684\u5b89\u5168\u6027\u8ba9\u8fd9\u4e00\u5207\u53d8\u5f97\u7b80\u5355\u6709\u8da3\u3002\u51c6\u5907\u597d\u4e86\u5417&#xff1f;\u8ba9\u6211\u4eec\u5f00\u59cb\u5427&#xff01;<\/p>\n<h3>Docker \u548c FTP \u8f6f\u4ef6\u7b80\u4ecb<\/h3>\n<p>Docker \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5bb9\u5668\u5316\u5e73\u53f0&#xff0c;\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5c06\u5e94\u7528\u53ca\u5176\u4f9d\u8d56\u6253\u5305\u5230\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u4e2d&#xff0c;\u4ece\u800c\u5b9e\u73b0\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\u3002\u60f3\u8c61\u4e00\u4e0b&#xff0c;\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u542f\u52a8\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528&#xff0c;\u65e0\u9700\u62c5\u5fc3\u73af\u5883\u5dee\u5f02&#xff0c;\u8fd9\u7b80\u76f4\u662f\u5f00\u53d1\u8005\u7684\u68a6\u4e2d\u60c5\u4eba\u3002<\/p>\n<p>FTP&#xff08;\u6587\u4ef6\u4f20\u8f93\u534f\u8bae&#xff09;\u5219\u662f\u4e00\u4e2a\u53e4\u8001\u800c\u7ecf\u5178\u7684\u534f\u8bae&#xff0c;\u4e13\u95e8\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u95f4\u4e0a\u4f20\u548c\u4e0b\u8f7d\u6587\u4ef6\u3002\u4eca\u5929&#xff0c;\u6211\u4eec\u5c06\u4f7f\u7528 vsftpd&#xff08;Very Secure FTP Daemon&#xff09;&#xff0c;\u5b83\u4ee5\u5b89\u5168\u6027\u548c\u6027\u80fd\u8457\u79f0&#xff0c;\u5e38\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u5229\u7528 Docker&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5feb\u901f\u642d\u5efa\u4e00\u4e2a FTP \u670d\u52a1\u5668&#xff0c;\u7701\u53bb\u7e41\u7410\u7684\u5b89\u88c5\u8fc7\u7a0b&#xff0c;\u8f7b\u677e\u5e94\u5bf9\u6587\u4ef6\u4f20\u8f93\u7684\u6311\u6218\u3002<\/p>\n<h3>\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668\u7684\u6b65\u9aa4<\/h3>\n<h4>\u6b65\u9aa4 1: \u5b89\u88c5 Docker<\/h4>\n<p>\u9996\u5148&#xff0c;\u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u4e0a\u5b89\u88c5\u4e86 Docker\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5&#xff1a;<\/p>\n<p>bash<\/p>\n<p>Copy<\/p>\n<p>sudo apt update<br \/>\nsudo apt install docker.io<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u542f\u52a8 Docker \u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff1a;<\/p>\n<p>bash<\/p>\n<p>Copy<\/p>\n<p>sudo systemctl start docker<br \/>\nsudo systemctl enable docker<\/p>\n<h4>\u6b65\u9aa4 2: \u62c9\u53d6 vsftpd \u955c\u50cf<\/h4>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u62c9\u53d6 vsftpd \u7684 Docker \u955c\u50cf&#xff1a;<\/p>\n<p>bash<\/p>\n<p>Copy<\/p>\n<p>sudo docker pull fauria\/vsftpd<\/p>\n<h4>\u6b65\u9aa4 3: \u521b\u5efa FTP \u7528\u6237<\/h4>\n<p>\u4e3a\u4e86\u8ba9 FTP \u670d\u52a1\u5668\u80fd\u591f\u63a5\u53d7\u6587\u4ef6\u4e0a\u4f20&#xff0c;\u6211\u4eec\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u7528\u6237\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>bash<\/p>\n<p>Copy<\/p>\n<p>sudo mkdir -p \/home\/ftpuser<br \/>\nsudo useradd -d \/home\/ftpuser -s \/sbin\/nologin ftpuser<br \/>\necho &#034;ftpuser:password&#034; | sudo chpasswd<br \/>\nsudo chmod 755 \/home\/ftpuser<\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a ftpuser \u7684\u7528\u6237&#xff0c;\u5e76\u8bbe\u7f6e\u4e86\u5bc6\u7801\u3002<\/p>\n<h4>\u6b65\u9aa4 4: \u542f\u52a8 vsftpd \u5bb9\u5668<\/h4>\n<p>\u73b0\u5728&#xff0c;\u53ef\u4ee5\u542f\u52a8 FTP \u670d\u52a1\u5668\u7684\u5bb9\u5668\u3002\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>bash<\/p>\n<p>Copy<\/p>\n<p>sudo docker run -d \\\\<br \/>\n  &#8211;name ftp \\\\<br \/>\n  -p 21:21 \\\\<br \/>\n  -v \/home\/ftpuser:\/home\/vsftpd \\\\<br \/>\n  -e FTP_USER&#061;ftpuser \\\\<br \/>\n  -e FTP_PASS&#061;password \\\\<br \/>\n  -e PASV_ENABLE&#061;Yes \\\\<br \/>\n  -e PASV_MIN_PORT&#061;30000 \\\\<br \/>\n  -e PASV_MAX_PORT&#061;30009 \\\\<br \/>\n  fauria\/vsftpd<\/p>\n<h5>\u53c2\u6570\u8bf4\u660e&#xff1a;<\/h5>\n<ul>\n<li>-d: \u8ba9\u5bb9\u5668\u5728\u540e\u53f0\u8fd0\u884c&#xff0c;\u89e3\u653e\u4f60\u7684\u7ec8\u7aef\u3002<\/li>\n<li>&#8211;name ftp: \u7ed9\u5bb9\u5668\u53d6\u4e2a\u540d\u5b57&#xff0c;\u65b9\u4fbf\u7ba1\u7406\u3002<\/li>\n<li>-p 21:21: \u5c06\u4e3b\u673a\u7684 21 \u7aef\u53e3\u6620\u5c04\u5230\u5bb9\u5668\u7684 21 \u7aef\u53e3&#xff0c;\u8fd9\u662f FTP \u7684\u9ed8\u8ba4\u7aef\u53e3\u3002<\/li>\n<li>-v \/home\/ftpuser:\/home\/vsftpd: \u6302\u8f7d\u4e3b\u673a\u76ee\u5f55\u5230\u5bb9\u5668&#xff0c;\u8ba9\u6570\u636e\u6301\u4e45\u5316\u3002<\/li>\n<li>-e FTP_USER&#061;ftpuser: \u8bbe\u7f6e FTP \u7528\u6237\u540d\u3002<\/li>\n<li>-e FTP_PASS&#061;password: \u8bbe\u7f6e FTP \u5bc6\u7801\u3002<\/li>\n<li>-e PASV_ENABLE&#061;Yes: \u542f\u7528\u88ab\u52a8\u6a21\u5f0f\u3002<\/li>\n<li>-e PASV_MIN_PORT&#061;30000: \u8bbe\u7f6e\u88ab\u52a8\u6a21\u5f0f\u7684\u6700\u4f4e\u7aef\u53e3\u3002<\/li>\n<li>-e PASV_MAX_PORT&#061;30009: \u8bbe\u7f6e\u88ab\u52a8\u6a21\u5f0f\u7684\u6700\u9ad8\u7aef\u53e3\u3002<\/li>\n<\/ul>\n<h4>\u6b65\u9aa4 5: \u6d4b\u8bd5 FTP \u8fde\u63a5<\/h4>\n<p>\u4e00\u5207\u5c31\u7eea\u540e&#xff0c;\u4f60\u53ef\u4ee5\u4f7f\u7528 FTP \u5ba2\u6237\u7aef&#xff08;\u5982 FileZilla&#xff09;\u8fde\u63a5\u5230\u4f60\u7684 FTP \u670d\u52a1\u5668&#xff0c;\u8f93\u5165\u4e3b\u673a IP \u548c\u521a\u624d\u521b\u5efa\u7684\u7528\u6237\u4fe1\u606f\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<p>\u5c31\u8fd9\u6837&#xff0c;\u4e00\u4e2a\u7b80\u5355\u9ad8\u6548\u7684 FTP \u670d\u52a1\u5668\u5c31\u5728\u4f60\u7684 Ubuntu \u7cfb\u7edf\u4e0a\u901a\u8fc7 Docker \u90e8\u7f72\u5b8c\u6210\u4e86\u3002\u73a9\u5f97\u5f00\u5fc3&#xff0c;\u522b\u5fd8\u4e86\u5076\u5c14\u4eab\u53d7\u4e00\u676f\u7ea2\u9152&#xff0c;\u6216\u8005\u70b9\u71c3\u4e00\u6839\u96ea\u8304&#xff0c;\u7ed9\u4f60\u7684\u6280\u672f\u4eba\u751f\u52a0\u70b9\u8c03\u6599&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb847\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf6\u6b21\u3002Docker \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5bb9\u5668\u5316\u5e73\u53f0\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5c06\u5e94\u7528\u53ca\u5176\u4f9d\u8d56\u6253\u5305\u5230\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u542f\u52a8\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\uff0c\u65e0\u9700\u62c5\u5fc3\u73af\u5883\u5dee\u5f02\uff0c\u8fd9\u7b80\u76f4\u662f\u5f00\u53d1\u8005\u7684\u68a6\u4e2d\u60c5\u4eba\u3002FTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\u5219\u662f\u4e00\u4e2a\u53e4\u8001\u800c\u7ecf\u5178\u7684\u534f\u8bae\uff0c\u4e13\u95e8\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u95f4\u4e0a\u4f20\u548c\u4e0b\u8f7d\u6587\u4ef6\u3002\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\uff0c\u5b83\u4ee5\u5b89\u5168\u6027\u548c\u6027\u80fd\u8457\u79f0\uff0c\u5e38\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u5229\u7528 Docker\uff0c\u6211\u4eec\u53ef\u4ee5\u5feb\u901f\u642d\u5efa\u4e00\u4e2a FTP \u670d\u52a1\u5668\uff0c\u7701\u53bb\u7e41\u7410\u7684\u5b89\u88c5\u8fc7\u7a0b\uff0c\u8f7b\u677e\u5e94\u5bf9\u6587\u4ef6\u4f20\u8f93\u7684\u6311\u6218\u3002_docker\u90e8\u7f72ftp<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,103,43],"topic":[],"class_list":["post-24698","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-ubuntu","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/24698.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb847\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf6\u6b21\u3002Docker \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5bb9\u5668\u5316\u5e73\u53f0\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5c06\u5e94\u7528\u53ca\u5176\u4f9d\u8d56\u6253\u5305\u5230\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u542f\u52a8\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\uff0c\u65e0\u9700\u62c5\u5fc3\u73af\u5883\u5dee\u5f02\uff0c\u8fd9\u7b80\u76f4\u662f\u5f00\u53d1\u8005\u7684\u68a6\u4e2d\u60c5\u4eba\u3002FTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\u5219\u662f\u4e00\u4e2a\u53e4\u8001\u800c\u7ecf\u5178\u7684\u534f\u8bae\uff0c\u4e13\u95e8\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u95f4\u4e0a\u4f20\u548c\u4e0b\u8f7d\u6587\u4ef6\u3002\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\uff0c\u5b83\u4ee5\u5b89\u5168\u6027\u548c\u6027\u80fd\u8457\u79f0\uff0c\u5e38\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u5229\u7528 Docker\uff0c\u6211\u4eec\u53ef\u4ee5\u5feb\u901f\u642d\u5efa\u4e00\u4e2a FTP \u670d\u52a1\u5668\uff0c\u7701\u53bb\u7e41\u7410\u7684\u5b89\u88c5\u8fc7\u7a0b\uff0c\u8f7b\u677e\u5e94\u5bf9\u6587\u4ef6\u4f20\u8f93\u7684\u6311\u6218\u3002_docker\u90e8\u7f72ftp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/24698.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T02:31:38+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24698.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/24698.html\",\"name\":\"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T02:31:38+00:00\",\"dateModified\":\"2025-04-19T02:31:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/24698.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/24698.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24698.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/24698.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb847\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf6\u6b21\u3002Docker \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5bb9\u5668\u5316\u5e73\u53f0\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5c06\u5e94\u7528\u53ca\u5176\u4f9d\u8d56\u6253\u5305\u5230\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u4e2d\uff0c\u4ece\u800c\u5b9e\u73b0\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u5730\u65b9\u542f\u52a8\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\uff0c\u65e0\u9700\u62c5\u5fc3\u73af\u5883\u5dee\u5f02\uff0c\u8fd9\u7b80\u76f4\u662f\u5f00\u53d1\u8005\u7684\u68a6\u4e2d\u60c5\u4eba\u3002FTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\u5219\u662f\u4e00\u4e2a\u53e4\u8001\u800c\u7ecf\u5178\u7684\u534f\u8bae\uff0c\u4e13\u95e8\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u95f4\u4e0a\u4f20\u548c\u4e0b\u8f7d\u6587\u4ef6\u3002\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\uff0c\u5b83\u4ee5\u5b89\u5168\u6027\u548c\u6027\u80fd\u8457\u79f0\uff0c\u5e38\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u5229\u7528 Docker\uff0c\u6211\u4eec\u53ef\u4ee5\u5feb\u901f\u642d\u5efa\u4e00\u4e2a FTP \u670d\u52a1\u5668\uff0c\u7701\u53bb\u7e41\u7410\u7684\u5b89\u88c5\u8fc7\u7a0b\uff0c\u8f7b\u677e\u5e94\u5bf9\u6587\u4ef6\u4f20\u8f93\u7684\u6311\u6218\u3002_docker\u90e8\u7f72ftp","og_url":"https:\/\/www.wsisp.com\/helps\/24698.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T02:31:38+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/24698.html","url":"https:\/\/www.wsisp.com\/helps\/24698.html","name":"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T02:31:38+00:00","dateModified":"2025-04-19T02:31:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/24698.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/24698.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/24698.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728 Ubuntu \u4e0b\u901a\u8fc7 Docker \u90e8\u7f72 FTP \u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=24698"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24698\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=24698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=24698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=24698"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=24698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}