Overview

Full name
docker.io/stilliard/pure-ftpd
Registry
docker.io
Namespace
stilliard
Repository
pure-ftpd
Cached tags
16
Last synced
07/06/2026, 05:44 AM

Introduction

Pure-FTPd 安全 FTP 服务器镜像,支持虚拟用户与 TLS,适合内网文件交换与遗留系统 FTP 接入。

Details

stilliard/pure-ftpd 运行 Pure-FTPd,支持虚拟用户、chroot 与 FTPS。定位为 FTP 文件传输服务,需挂载用户数据库与 home volume;K8s Deployment + LoadBalancer/NodePort 暴露 FTP 控制与数据端口。

快速启动

docker run -d --name pure-ftpd \
  -p 21:21 -p 30000-30009:30000-30009 \
  -e FTP_USER_NAME=ftpuser \
  -e FTP_USER_PASS=changeme \
  docker.io/stilliard/pure-ftpd:latest

推荐实践

docker run -d --name pure-ftpd \
  --restart unless-stopped \
  -p 21:21 -p 30000-30009:30000-30009 \
  -v /data/ftp:/home/ftpusers \
  -e FTP_USER_NAME=ftpuser \
  -e FTP_USER_PASS=changeme \
  -e ADDED_FLAGS="--tls=2" \
  docker.io/stilliard/pure-ftpd:hardened

核心参数说明

  • -p 21:21 — FTP 控制端口
  • -p 30000-30009:... — 被动模式数据端口范围
  • -e FTP_USER_PASS — 虚拟用户密码(高敏
  • -v .../ftp:... — 用户文件目录

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: pure-ftpd
spec:
  replicas: 1
  selector:
    matchLabels:
      app: pure-ftpd
  template:
    metadata:
      labels:
        app: pure-ftpd
    spec:
      containers:
        - name: ftpd
          image: docker.io/stilliard/pure-ftpd:hardened
          ports:
            - containerPort: 21
          envFrom:
            - secretRef:
                name: ftp-users
          volumeMounts:
            - name: data
              mountPath: /home/ftpusers
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: ftp-data
---
apiVersion: v1
kind: Service
metadata:
  name: pure-ftpd
spec:
  type: NodePort
  selector:
    app: pure-ftpd
  ports:
    - port: 21
      targetPort: 21

被动端口范围需 NodePort 映射;FTPS 证书 Secret 挂载。

Latest tags (20)

View all 16 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/stilliard/pure-ftpd
:bullseye-latest
linux/amd64
2026/04/11 06:1159.1 MBsha256:eacaf2338935
docker.io/stilliard/pure-ftpd
:bullseye-1.0.49
linux/amd64
2026/04/11 06:1159.1 MBsha256:eacaf2338935
docker.io/stilliard/pure-ftpd
:latest
linux/amd64
2026/04/11 06:1065.1 MBsha256:41c9aaded1fd
docker.io/stilliard/pure-ftpd
:trixie-latest
linux/amd64
2026/04/11 06:1065.1 MBsha256:41c9aaded1fd
docker.io/stilliard/pure-ftpd
:bookworm-latest
linux/amd64
2026/04/11 06:1061.4 MBsha256:4b1002997ab2
docker.io/stilliard/pure-ftpd
:trixie-1.0.50
linux/amd64
2026/04/11 06:1065.1 MBsha256:41c9aaded1fd
docker.io/stilliard/pure-ftpd
:bookworm-1.0.50
linux/amd64
2026/04/11 06:1061.4 MBsha256:4b1002997ab2
docker.io/stilliard/pure-ftpd
:buster-latest
linux/amd64
2026/04/11 04:1762.1 MBsha256:c58f04775dac
docker.io/stilliard/pure-ftpd
:buster-1.0.47
linux/amd64
2026/04/11 04:1662.1 MBsha256:c58f04775dac
docker.io/stilliard/pure-ftpd
:hardened
linux/amd64
2021/06/26 21:3856.6 MBsha256:1d15f8091b18
docker.io/stilliard/pure-ftpd
:hardened-latest
linux/amd64
2021/06/26 21:2856.6 MBsha256:e39593e15ade
docker.io/stilliard/pure-ftpd
:stretch-latest
linux/amd64
2020/05/09 07:2970.6 MBsha256:e8827987e89c
docker.io/stilliard/pure-ftpd
:jessie-latest
linux/amd64
2018/02/09 22:34182.5 MBsha256:92f9b6c2e7c4
docker.io/stilliard/pure-ftpd
:hardened-1.0.36
amd64
2015/11/21 20:38174.3 MBsha256:bc6adf67d8f9
docker.io/stilliard/pure-ftpd
:jessie-1.0.36
amd64
2015/11/21 20:38174.3 MBsha256:053b41d60a49
docker.io/stilliard/pure-ftpd
:wheezy-1.0.36
amd64
2015/11/21 20:35147.3 MBsha256:8660840107ef