Skip to content

Commit acf4910

Browse files
Create README.md
Added basic intro of this project.
1 parent 8280bdd commit acf4910

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Dockerize an Existing Drupal Project
2+
Drupal 8 is not new now and most developers have started using Docker for local development. However, few developers still struggle to setup Docker locally.
3+
There are tons of documents available on the Internet which describe how to set up a local Docker + Drupal development environment.
4+
Considering folks who are new to Docker find this documentation complicated sometimes because to run Docker locally requires a lot of configurations.
5+
On top of that, there are multiple docker images available on Web, and developers who want to use docker in existing projects can't finalize
6+
what is the right Docker image for their project.
7+
8+
# Problem Statement
9+
If an existing project development is already happening without Docker (maybe using XAMPP, WAMP, Acquia Dev Desktop or Vagrant etc.)
10+
then developers don't want to spend much time on setting up it on Docker. They want to minimize the setup time and to do that they look for any relevant Docker image. Sometimes they get it easily but most of the time they find that there are some extra modules/configurations/components/libraries that are not needed in their project. Hence, they may look for plain PHP, Apache
11+
and MySql image that they can update as per their requirements.
12+
13+
# Solution
14+
1. Create separate containers for PHP, MySQL, and Apache.
15+
2. Manage version for all the containers separately.
16+
3. Whatever the libraries are needed, just add the same in the individual docker file.
17+
4. Setup the local repository, error logs etc. path in the docker file itself.
18+
19+
# Let's start and follow the below steps to maintain an existing project using Docker.

0 commit comments

Comments
 (0)