sudo pacman -S docker
sudo systemctl enable docker
sudo systemctl start docker
-
Download image from docker hub
sudo docker pull hongsea/ftp
-
Run FTP on this command, you need complate
<Directory>
path mount to docker for share,<username>
and<password>
sudo docker run -d -v <Directory>:/home/vsftpd \ -p 21:21 \ -e FTP_USER=<username> \ -e FTP_PASS=<password> \ -e PASV_ADDRESS=<IP ADDRESS> \ --name ftp \ --restart=always hongsea/ftp