A CentOS 7 Docker LAMP suitable for local WordPress, Yetiforce development. This is meant to simulate a development environment compatible with cPanel hosting. This container is ideal for running on Windows or Mac as everything is in one container.
- Centos 7
- Apache 2.4
- MariaDB 10.1
- PHP 7.0
- SSH
- phpMyAdmin
- Webmin
- Git
- Drush
- NodeJS
Create a project folder and database folder.
mkdir -p project/database
Move into the project folder.
cd project
Run the command to launch the docker and map project and database directory.
docker run -d -p 8080:80 -p 8022:22 -v `pwd`:/var/www/html -v `pwd`/database:/var/lib/phpMyAdmin/upload -t otherdata/centos-lamp
You can now move a copy of your WordPress/Yetiforce files into the project folder, and move an .sql dump into the database folder.
To access the local docker visit http://localhost:8080.
To access phpMyadmin visit http://localhost:8080/phpmyadmin.
To access Webmin visit http://localhost:8080/webmin.