dockerfile: fix -bind argument call
This commit is contained in:
parent
5812b987f9
commit
3d38f0e6af
1 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ allons faire en sorte que notre image permette d'être utilisée ainsi :
|
||||||
|
|
||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```
|
```
|
||||||
42sh$ docker run -d -p 80:80 youp0m -bind 80
|
42sh$ docker run -d -p 80:80 youp0m -bind :80
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ lequel il va trouver le bon binaire :
|
||||||
|
|
||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```
|
```
|
||||||
42sh$ docker run -d -p 80:80 youp0m /srv/youp0m -bind 80
|
42sh$ docker run -d -p 80:80 youp0m /srv/youp0m -bind :80
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ Par exemple :
|
||||||
|
|
||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```
|
```
|
||||||
42sh$ docker run -d -p 8081:8081 -e YOUP0M_USERNAME=admin -e YOUP0M_PASSWORD=admin youp0m -bind=8081
|
42sh$ docker run -d -p 8081:8081 -e YOUP0M_USERNAME=admin -e YOUP0M_PASSWORD=admin youp0m -bind=:8081
|
||||||
|
|
||||||
42sh$ curl -u admin:badpasswd http://localhost:8081/admin/
|
42sh$ curl -u admin:badpasswd http://localhost:8081/admin/
|
||||||
You are not allowed to perform this request.
|
You are not allowed to perform this request.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue