Create directory name called 'wordpress' and change into the directory
mkdir wordpress
cd wordpressDownload the wordpress YAML file and rename it as docker-compose.YAML
wget https://github.com/maheshkn400/DevOps/raw/master/Docker/wordpress/wordpress.yml
mv wordpress.yml docker-compose.ymlRun the following command to create and up the containers with detach mode
docker compose up -dCheck the containers with wordpress name two containers available with port 80 expose
docker psaccess the url http://(server name / ip)/ you will gat as follow.
And follow the WordPress instructions to install.
Down the containers
docker compose downUp the containers with detach mode
docker compose up -dI'm Happy To Get Suggestions 😄
