Public | Automated Build

Last pushed: a year ago
Short Description
FTP server
Full Description

Docker SFTP Container

This is a Docker container that starts a Secure FTP server and generates a random password for the built-in user.

The name of the built-in user is ftp-user. It can be modified in Dockerfile or with an environmental variable.

The password is randomly generated when the container is started.

Start Container

docker run \
    -dP \
    --name="sftp-server" \
    axibase/sftp

Obtain Password

docker logs sftp-server

Transfer Files

sftp ftp-user@172.17.0.2:/ftp/file-1 /home/storage/file-1
sftp /home/storage/file-2 ftp-user@172.17.0.2:/ftp/
Docker Pull Command
Owner
axibase
Source Repository