Creating A Local Drupal 8 Development Environment Via Docksal
Summary
Nowadays, developers should be able to use multiple languages, frameworks and architectures – and on top of that – they need to know how to use several tools and products which can make their lives easier. Even though there are many other types of Docker based tools, such as Lando or Docker4Drupal, we opted to use Docksal because it is fast, easy to use and well-documented. Once that site initialization is started, it will pull your Composer dependencies, prepare, and install Drupal on your environment. As you can see on the screenshot below, web, db and cli containers will be created and the environment will be ready for use, so you can put your project in docroot and keep working with the Docksal in the same way as it is explained in this article. Also, here you can change the default docroot, virtual host, mysql port… For a full list of the image versions, you can visit Docksal documentation in their help center.