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
To spawn a new instance of wordpress on port 80. The -p 80:80 maps the internal docker port 80 to the outside port 80 of the host machien.
19
+
To spawn a new instance of wordpress on port 80. The -p 80:80 maps the internal docker port 80 to the outside port 80 of the host machine.
20
20
21
21
```bash
22
22
$ sudo docker run -p 80:80 --name docker-wordpress-nginx -d docker-wordpress-nginx
23
23
```
24
24
25
-
Start your newly created docker
25
+
Start your newly created docker.
26
26
27
27
```
28
28
$ sudo docker start docker-wordpress-nginx
29
29
```
30
30
31
31
After starting the docker-wordpress-nginx check to see if it started and the port mapping is correct. This will also report the port mapping between the docker container and the host machine.
0 commit comments