![]() ![]() ![]() If you've ever followed a tutorial on setting up a server, you may recall beign given a set of instructions to follow, in the correct order to install all of the software via the command line. This is a good article comparing Docker and Vagrant from Delicious Brains. Or we may use a PHP image, or a PHP-fpm 7.4 image. For example, if we want to use PHP in our app, we could use our Dockerfile to install PHP, and extensions and configure it. We simplify the creation of containers with pre-defiend templates called images. A container is one application, totally encapsulated into one immutable entity. Using Docker allows us to explictily say "this is what the machine we develop with is." With Docker, everyone can choose there own computer, or possibly a cloud-hosted IDE and not worry about getting all of the parts of a web server set up the same way as there team mates every time.ĭocker is used to "containerized" our applications. On the other hand, Docker creates and runs a complete web server stack - including the operating system and all tooling - in a completley isolated "container" that runs the same whether your computer is Linux, Windows, or Mac.įor teams of any size, the "works on my machine" problem will always be present. XAMP like solutions install and configure PHP, MySQL and a web server - apache, nGnix, etc - on your computer to work as WordPress site. ![]() My goal is to understand what Docker does and how to quickly get a local development envioronment up and running with the tools for this provided by the WordPress open source project. It's not going to teach anything about using Docker in production or make you a Docker expert. This post is an introduction to using Docker for local WordPress development. Later on Docker-based solutions appeared. When I started WordPressing seriously in 2014, the options were XAMP - DesktopServer, MAMP, WAMP, etc. When developing WordPress sites, apps, plugins and themes, it's always a good idea to work with a local test environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |