Update default port number to 9080
This commit is contained in:
@@ -9,20 +9,20 @@ Let's first explain the command that you just ran. In case you forgot,
|
||||
here's the command:
|
||||
|
||||
```cli
|
||||
docker run -d -p 80:80 docker/getting-started
|
||||
docker run -d -p 9080:80 docker/getting-started
|
||||
```
|
||||
|
||||
You'll notice a few flags being used. Here's some more info on them:
|
||||
|
||||
- `-d` - run the container in detached mode (in the background)
|
||||
- `-p 80:80` - map port 80 of the host to port 80 in the container
|
||||
- `-p 9080:80` - map port 9080 of the host to port 80 in the container
|
||||
- `docker/getting-started` - the image to use
|
||||
|
||||
!!! info "Pro tip"
|
||||
You can combine single character flags to shorten the full command.
|
||||
As an example, the command above could be written as:
|
||||
```
|
||||
docker run -dp 80:80 docker/getting-started
|
||||
docker run -dp 9080:80 docker/getting-started
|
||||
```
|
||||
|
||||
## The Docker Dashboard
|
||||
|
Reference in New Issue
Block a user