You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use Docker Compose to easily run WordPress in an isolated environment built
8
-
with Docker containers. This quick-start guide demonstrates how to use Compose to set up and run WordPress. Before starting, you'll need to have
7
+
You can use Docker Compose to easily run WordPress in an isolated environment
8
+
built with Docker containers. This quick-start guide demonstrates how to use
9
+
Compose to set up and run WordPress. Before starting, you'll need to have
9
10
[Compose installed](install.md).
10
11
11
12
### Define the project
@@ -14,7 +15,10 @@ with Docker containers. This quick-start guide demonstrates how to use Compose t
14
15
15
16
You can name the directory something easy for you to remember. This directory is the context for your application image. The directory should only contain resources to build that image.
16
17
17
-
This project directory will contain a `docker-compose.yaml` file which will be complete in itself for a good starter wordpress project.
18
+
This project directory will contain a `docker-compose.yml` file which will
19
+
be complete in itself for a good starter wordpress project.
20
+
21
+
>**Tip:** You can use either a `.yml` or `.yaml` extension for this file. They both work.
18
22
19
23
2. Change directories into your project directory.
20
24
@@ -87,17 +91,22 @@ This pulls the needed images, and starts the wordpress and database containers,
87
91
88
92
If you're using [Docker Machine](/machine/), then `docker-machine ip MACHINE_VM` gives you the machine address and you can open `http://MACHINE_VM_IP:8000` in a browser.
89
93
90
-
At this point, WordPress should be running on port `8000` of your Docker Host, and you can complete the "famous five-minute installation" as a WordPress administrator.
94
+
At this point, WordPress should be running on port `8000` of your Docker Host,
95
+
and you can complete the "famous five-minute installation" as a WordPress
96
+
administrator.
91
97
92
-
**NOTE**: The WordPress site will not be immediately available on port `8000` because the containers are still being initialized and may take a couple of minutes before the first load.
98
+
**NOTE**: The WordPress site will not be immediately available on port `8000`
99
+
because the containers are still being initialized and may take a couple of
100
+
minutes before the first load.
93
101
94
102

0 commit comments