WordPress 웹사이트의 볼륨을 가리키는 FTP 서버 컨테이너를 설정합니다.
<aside> 💡 ftp(File Transter Protocol)
20
: 데이터 채널(File Transfer)21
: 제어 채널(FTP Control)500 OOPS: priv_sock_get_cmd
오류tail -f
걸어서 도커 실행 해놓고 아래와 같이 구성 정보 오류 확인 가능$ apk add lftp
$ lftp
> connect -u username localhost
> put local_file remote_directory
> get remote_file local_directory
> exit
$ apk add lftp
$ lftp -u ftpuser,42 localhost
lftp ftpuser@localhost:~> ls
-rw-r--r-- 1 0 0 405 Oct 22 13:31 index.php
-rw-r--r-- 1 0 0 19915 Oct 22 13:31 license.txt
-rw-r--r-- 1 0 0 7399 Oct 22 13:31 readme.html
-rw-r--r-- 1 0 0 7211 Oct 22 13:31 wp-activate.php
drwxr-xr-x 9 0 0 4096 Oct 22 13:31 wp-admin
-rw-r--r-- 1 0 0 351 Oct 22 13:31 wp-blog-header.php
-rw-r--r-- 1 0 0 2323 Oct 22 13:31 wp-comments-post.php
-rw-r--r-- 1 0 0 3013 Oct 22 13:31 wp-config-sample.php
-rw-r--r-- 1 0 0 3349 Oct 22 13:31 wp-config.php
drwxr-xr-x 8 0 0 4096 Oct 22 13:31 wp-content
-rw-r--r-- 1 0 0 5638 Oct 22 13:31 wp-cron.php
drwxr-xr-x 27 0 0 12288 Oct 22 13:31 wp-includes
-rw-r--r-- 1 0 0 2502 Oct 22 13:31 wp-links-opml.php
-rw-r--r-- 1 0 0 3927 Oct 22 13:31 wp-load.php
-rw-r--r-- 1 0 0 49441 Oct 22 13:31 wp-login.php
-rw-r--r-- 1 0 0 8537 Oct 22 13:31 wp-mail.php
-rw-r--r-- 1 0 0 25602 Oct 22 13:31 wp-settings.php
-rw-r--r-- 1 0 0 34385 Oct 22 13:31 wp-signup.php
-rw-r--r-- 1 0 0 4885 Oct 22 13:31 wp-trackback.php
-rw-r--r-- 1 0 0 3236 Oct 22 13:31 xmlrpc.php
lftp ftpuser@localhost:~> get index.php .
lftp ftpuser@localhost:~> exit
$ vi index.php