Skip to content

Commit 830feef

Browse files
Update README.md
1 parent 81a7087 commit 830feef

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ and MySql image that they can update as per their requirements.
1818

1919
# Let's start and follow the below steps to maintain an existing project using Docker.
2020

21+
## Prerequisites
22+
23+
1. [Docker](https://docs.docker.com/engine/installation/)
24+
2. [Docker-Compose](https://docs.docker.com/compose/install/) - Needed for Linux
25+
3. [Understanding of Composer](https://getcomposer.org/doc/00-intro.md/)
26+
27+
2128
## Quick Setup
2229
1. Clone this repository and run the below command:
2330
```
@@ -53,7 +60,9 @@ PHP Version = 7.3.11
5360
APACHE_VERSION = 2.4.41
5461
MYSQL_VERSION = 8.0.0
5562
```
56-
6. Now put your codebase inside `docroot` folder that is pointed to `/var/www/html` in the PHP container. You can also see it using docker command as shown below:
63+
6. Now put your codebase inside `docroot` folder that is pointed to `/var/www/html` in the PHP container. You can also use [Drupal Composer Project](https://github.com/drupal-composer/drupal-project) to create a Drupal installation from scratch.
64+
65+
You can jump to command line prompt of PHP container using below docker command:
5766
```
5867
docker exec -it 8294e1800058 /bin/sh
5968
```
@@ -65,3 +74,12 @@ docker exec -it 8294e1800058 /bin/sh
6574

6675
## Detailed Explanation
6776
--WIP---
77+
78+
## Issues and Resolutions
79+
--WIP---
80+
81+
## Important Docker commands
82+
* ``docker-compose up`` Start all the containers.
83+
* ``docker-compose down`` Stop all the containers.
84+
* ``docker system prune -a`` Delete all the docker images.
85+
* ``docker ps`` See all active containers.

0 commit comments

Comments
 (0)