1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-04 14:46:10 +02:00

Update README.md to use 1.5 version and link DockerHub

This commit is contained in:
Huge 2024-03-12 14:23:56 +01:00 committed by GitHub
parent 26b0a0008b
commit 16b84ea1b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ docker run --detach \
--name nginx-proxy \
--publish 80:80 \
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
nginxproxy/nginx-proxy:1.4
nginxproxy/nginx-proxy:1.5
```
Then start any containers (here an nginx container) you want proxied with an env var `VIRTUAL_HOST=subdomain.yourdomain.com`
@ -48,7 +48,7 @@ The nginx-proxy images are available in two flavors.
This image is based on the nginx:mainline image, itself based on the debian slim image.
```console
docker pull nginxproxy/nginx-proxy:1.4
docker pull nginxproxy/nginx-proxy:1.5
```
#### Alpine based version (`-alpine` suffix)
@ -56,14 +56,14 @@ docker pull nginxproxy/nginx-proxy:1.4
This image is based on the nginx:alpine image.
```console
docker pull nginxproxy/nginx-proxy:1.4-alpine
docker pull nginxproxy/nginx-proxy:1.5-alpine
```
#### :warning: a note on `latest` and `alpine`:
It is not recommended to use the `latest` (`nginxproxy/nginx-proxy`, `nginxproxy/nginx-proxy:latest`) or `alpine` (`nginxproxy/nginx-proxy:alpine`) tag for production setups.
Those tags points to the latest commit in the `main` branch. They do not carry any promise of stability, and using them will probably put your nginx-proxy setup at risk of experiencing uncontrolled updates to non backward compatible versions (or versions with breaking changes). You should always specify the version you want to use explicitly to ensure your setup doesn't break when the image is updated.
[Those tags point](https://hub.docker.com/r/nginxproxy/nginx-proxy/tags) to the latest commit in the `main` branch. They do not carry any promise of stability, and using them will probably put your nginx-proxy setup at risk of experiencing uncontrolled updates to non backward compatible versions (or versions with breaking changes). You should always specify the version you want to use explicitly to ensure your setup doesn't break when the image is updated.
### Additional documentation