From ceb7c55d41851826a74de1fdf721f5dc6d786ad7 Mon Sep 17 00:00:00 2001 From: Damian Szymczuk Date: Fri, 12 Feb 2021 12:25:52 +0100 Subject: [PATCH] Update Upgrading-Containers.md Add the easiest way to update WordPress using docker containers. --- docs/docker/Upgrading-Containers.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/docker/Upgrading-Containers.md b/docs/docker/Upgrading-Containers.md index 35c33e7..1b1e189 100755 --- a/docs/docker/Upgrading-Containers.md +++ b/docs/docker/Upgrading-Containers.md @@ -67,4 +67,12 @@ docker start mysite_com Remove the nonworking container: ```code docker rm mysite_com_notworking -``` \ No newline at end of file +``` + +# The easiest Docker Way + +Edit `wp-config.php` file by add `define('FS_METHOD','direct');` to the end of file. + +Save the file and run update. From now, you don't need FTP server to update your WordPress. + +**Remember! Before update make a backup.**