Sign inSign up

cadecode/vsftpd

By cadecode

Updated about 2 years ago

A docker image for vsftpd, based on `fauria/vsftpd` project with some optimization

Image
Networking
Internet of things
Developer tools
0

277

cadecode/vsftpd repository overview

vsftpd

A docker image for vsftpd, based on fauria/vsftpd project with some optimization

More about:

Usage

Pull image

docker pull cadecode/vsftpd:3-centos7-fauria

Edit docker-compose.yml

version: '3.8'

services:
  vsftpd:
    image: cadecode/vsftpd:3-centos7-fauria
    restart: unless-stopped
    ports:
      - "20:20"
      - "21:21"
      - "21100-21110:21100-21110"
    volumes:
      - vsftpd-config:/etc/vsftpd
      - ./home:/home/vsftpd
      - ./log:/var/log/vsftpd
    environment:
      # Default user
      FTP_USER: ftp
      FTP_PASS: ftp123
      # Passive mode
      PASV_ADDRESS: 192.168.100.1
      PASV_MIN_PORT: 21100
      PASV_MAX_PORT: 21110
      PASV_PROMISCUOUS: "YES"
      REVERSE_LOOKUP_ENABLE: "NO"

volumes:
  vsftpd-config:
    driver: local
    driver_opts:
      type: none
      device: ./config
      o: bind

Run compose

docker compose up -d

Tag

centos7-fauria

This image optimizes fauria/vsftpd project in several ways

  • Record both standard xferlog format and vsftpd logs
  • The vsftpd logs can be synchronized to stdout
  • The vsftpd logs can be rotated auto by logrotate
  • Virtual user account is not reset on restart
  • Redundant content is not appended to config file

Tag summary

Content type

Image

Digest

sha256:b52ef4e7b

Size

415.8 MB

Last updated

about 2 years ago

docker pull cadecode/vsftpd:3-centos7-fauria