# FastDFS Dockerfile local (本地版本)
## 声明
其实并没什么区别 教程是在上一位huayanYu(小锅盖)和 Wiki的作者 的基础上进行了一些修改,本质上还是huayanYu(小锅盖) 和 Wiki 上的作者写的教程
## 目录介绍
### conf
Dockerfile 所需要的一些配置文件
当然你也可以对这些文件进行一些修改 比如 storage.conf 里面的 bast_path 等相关
### source
FastDFS 所需要的一些需要从网上下载的包(包括 FastDFS 本身) ,因为天朝网络原因 导致 build 镜像的时候各种出错
所以干脆提前下载下来了 .
## 使用方法
需要注意的是 你需要在运行容器的时候制定宿主机的ip 用参数 FASTDFS_IPADDR 来指定
下面有一条docker run 的示例指令
```
docker run -d -e FASTDFS_IPADDR=192.168.1.234 -p 8888:8888 -p 22122:22122 -p 23000:23000 -p 8011:80 --name test-fast 镜像id/镜像名称
```
## 后记
本质上 local 版本与 network 版本无区别
## Statement
In fact, there is no difference between the tutorials written by Huayan Yu and Wiki on the basis of their previous authors. In essence, they are also tutorials written by the authors of Huayan Yu and Wiki.
## Catalogue introduction
### conf
Dockerfile Some configuration files needed
Of course, you can also make some modifications to these files, such as bast_path in storage. conf, etc.
### source
FastDFS Some of the packages that need to be downloaded from the Internet (including FastDFS itself) are due to various errors in building mirrors due to the Tianchao network
So I downloaded it in advance.
## Usage method
Note that you need to specify the host IP when running the container with the parameter FASTDFS_IPADDR
Here's a sample docker run instruction
```
docker run -d -e FASTDFS_IPADDR=192.168.1.234 -p 8888:8888 -p 22122:22122 -p 23000:23000 -p 8011:80 --name test-fast 镜像id/镜像名称
```
## Epilogue
Essentially, there is no difference between the local version and the network version.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
FastDFS是一款轻量级的开源分布式文件系统,功能包括:文件存储、文件同步、文件上传、文件下载等,解决了文件大容量存储和高性能访问问题。特别适合以文件为载体的在线服务,如图片、视频、文档服务等等
资源推荐
资源详情
资源评论
收起资源包目录
一款轻量级的开源分布式文件系统,功能包括:文件存储、文件同步、文件上传、文件下载等,解决了文件大容量存储和高性能访问问题 (226个子文件)
storage_service.c 227KB
fastdfs_client.c 210KB
tracker_mem.c 160KB
tracker_service.c 112KB
storage_sync.c 87KB
tracker_client_thread.c 76KB
storage_func.c 76KB
storage_client.c 67KB
trunk_sync.c 64KB
trunk_mem.c 64KB
storage_disk_recovery.c 49KB
tracker_client.c 47KB
fdht_client.c 34KB
storage_dio.c 23KB
fdfs_server_id_func.c 21KB
fdfs_shared_func.c 21KB
tracker_proto.c 20KB
trunk_shared.c 19KB
fdht_func.c 18KB
tracker_func.c 18KB
tracker_relationship.c 17KB
fdfs_test.c 17KB
fdfs_test1.c 16KB
tracker_dump.c 16KB
fdfs_monitor.c 15KB
client_func.c 15KB
storage_dump.c 14KB
fdfs_storaged.c 13KB
trunk_free_block_checker.c 12KB
fdht_proto.c 11KB
fdfs_appender_test.c 11KB
fdfs_appender_test1.c 11KB
test_download.c 11KB
test_delete.c 10KB
fdfs_trackerd.c 10KB
file_id_hashtable.c 10KB
storage_ip_changed_dealer.c 9KB
test_upload.c 9KB
fdfs_http_shared.c 9KB
trunk_client.c 8KB
storage_param_getter.c 8KB
tracker_http_check.c 7KB
combine_result.c 6KB
storage_sync_func.c 5KB
storage_global.c 5KB
dfs_func_pc.c 4KB
fdfs_global.c 3KB
dfs_func.c 3KB
mime_file_parser.c 3KB
fdfs_upload_file.c 3KB
tracker_global.c 2KB
fdfs_file_info.c 2KB
tracker_status.c 2KB
fdfs_crc32.c 2KB
fdfs_download_file.c 2KB
fdfs_upload_appender.c 2KB
fdfs_regenerate_filename.c 2KB
gen_files.c 1KB
fdfs_append_file.c 1KB
fdfs_delete_file.c 1KB
common_func.c 832B
client_global.c 602B
fdht_global.c 555B
fdfs_monitor.c 17B
fdfs_test1.c 15B
fdfs_test.c 14B
storage.conf 11KB
storage.conf 10KB
storage.conf 10KB
storage.conf 10KB
tracker.conf 10KB
tracker.conf 9KB
tracker.conf 9KB
tracker.conf 9KB
storage.conf 8KB
storage.conf 8KB
tracker.conf 7KB
tracker.conf 7KB
mod_fastdfs.conf 4KB
mod_fastdfs.conf 4KB
mod_fastdfs.conf 4KB
mod_fastdfs.conf 4KB
mod_fastdfs.conf 4KB
nginx.conf 3KB
nginx.conf 3KB
client.conf 2KB
client.conf 2KB
client.conf 2KB
client.conf 2KB
client.conf 1KB
client.conf 1KB
nginx.conf 1017B
nginx.conf 1017B
nginx.conf 1017B
http.conf 994B
http.conf 994B
http.conf 994B
http.conf 965B
http.conf 955B
http.conf 955B
共 226 条
- 1
- 2
- 3
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6650
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功