Fixed the docs related to port map and networking

This commit is contained in:
Diptanu Choudhury
2015-11-18 21:03:50 -08:00
parent 813590cdc0
commit 2d8f1df6be
2 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ task "redis" {
config {
image = "redis"
port_map {
redis = "6379"
redis = 6379
}
}
}

View File

@@ -57,7 +57,7 @@ place your task.
```
task "dnsservice" {
port "dns" {
static = "53"
static = 53
}
}
```
@@ -106,4 +106,4 @@ The above example is for the Docker driver. The service is listening on port
`8080` inside the container. The driver will automatically map the dynamic port
to this service.
Please refer to the [Docker](/docs/drivers/docker.html) and [QEMU](/docs/drivers/qemu.html) drivers for additional information.
Please refer to the [Docker](/docs/drivers/docker.html) and [QEMU](/docs/drivers/qemu.html) drivers for additional information.