Update default port number to 9080
This commit is contained in:
		
							parent
							
								
									798c396e89
								
							
						
					
					
						commit
						99261e79a8
					
				| 
						 | 
				
			
			@ -19,7 +19,7 @@ into depth, it covers the following topics:
 | 
			
		|||
If you wish to run the tutorial, you can use the following command after installing Docker Desktop:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
docker run -d -p 80:80 docker/getting-started
 | 
			
		||||
docker run -d -p 9080:80 docker/getting-started
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Once it has started, you can open your browser to [http://localhost](http://localhost).
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue