Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Commit 4c50f23

Browse files
committed
✏️ Fix typos in README
1 parent 1405932 commit 4c50f23

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ avoid port collisions across projects.
128128
app:
129129
image: nginx
130130
depends_on: pgsql
131-
volume:
132-
- ./php:/usr/share/nginx/html
133131
ports:
134132
- 80:80 <----- and _not_ like this (local port)
135133
pgsql:
@@ -139,7 +137,7 @@ avoid port collisions across projects.
139137

140138
### HTTP Port
141139

142-
In order to detect which port "the http port" of you container is, *reception* looks for the well-known ports
140+
In order to detect which port of you container "the http port" is, *reception* looks for the well-known ports
143141
80, 8080 and 3000. You can override this behaviour by setting the label `reception.http-port` to a port of your choice:
144142

145143
version: '2'
@@ -155,7 +153,7 @@ In order to detect which port "the http port" of you container is, *reception* l
155153

156154
### Reception can't bind to the ports
157155

158-
You must run *reception* as privileged user (i.e. `root`) for it to be able to bind to port 53 (dns) and port 80 (http).
156+
You must run *reception* as privileged user (i.e. `root`) for it to be able to bind to port 53 (dns) and port 80 (http).
159157

160158
### _docker-compose_ projects can't start because of port conflicts
161159

@@ -166,16 +164,16 @@ version: 2
166164
services:
167165
app:
168166
ports:
169-
-- "80:80"
167+
- "80:80"
170168
```
171169
172170
In the case above, you would just replace `"80:80"` with `80`.
173171

174-
### Is the DNS cache outdated?
172+
### `reception.docker` does not resolve
175173

176-
**Note:** *reception* must be running at this stage already!
174+
First, check if *reception* is actually running.
177175

178-
`nslookup foobar.docker` should resolve to `127.0.0.1` or `::1`.
176+
Then see if `nslookup reception.docker` resolves to `127.0.0.1` or `::1`.
179177

180178
If it doesn't, please flush the DNS cache:
181179

0 commit comments

Comments
 (0)