Merge pull request #1232 from whs-dot-hk/patch-1
Updated httpd/content.md
This commit is contained in:
commit
ac1db13b85
|
|
@ -21,9 +21,11 @@ Then, run the commands to build and run the Docker image:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker build -t my-apache2 .
|
$ docker build -t my-apache2 .
|
||||||
$ docker run -dit --name my-running-app my-apache2
|
$ docker run -dit --name my-running-app -p 8080:80 my-apache2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Visit http://localhost:8080 and you will see It works!
|
||||||
|
|
||||||
### Without a `Dockerfile`
|
### Without a `Dockerfile`
|
||||||
|
|
||||||
If you don't want to include a `Dockerfile` in your project, it is sufficient to do the following:
|
If you don't want to include a `Dockerfile` in your project, it is sufficient to do the following:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue