1 - Pull the image via this command: docker pull ramirezfx/wordpress:latest
2 - Tag your instance of wordpress: docker tag ramirezfx/wordpress:latest yourimage:version
3 - Create the container: docker run -it -d --restart always -p 8080:80 --name yourcontainername yourimage:version
4 - Run the setup-script inside the container: docker exec -it yourcontainername /bin/bash /tmp/firstrun.sh
Fill in the required fields:
Domain: (Your domain ... for example domain.com)
Database-Name: (The name of the database which will be created)
Database-User: (The name of the database-user which will be created)
Database-Password: (The Password for the database)
After this step point your web-browser to your site (http://yoursite.yourdomain:8080) and finish the installation
Repeat Step 2-4 for additional instances
Content type
Image
Digest
Size
265.7 MB
Last updated
almost 6 years ago
docker pull ramirezfx/wordpress