Skip to content

Commit

Permalink
Elaborate on docker image differences
Browse files Browse the repository at this point in the history
* This commit adds a warning to readers to clarify that they should
  be aware of our different image tags before pulling their image.
  • Loading branch information
avahahn committed Apr 18, 2024
1 parent a48fbc0 commit d7ce356
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For details and available language packages, see the
### Docker

``` console
$ docker pull unit
$ docker pull unit:<TAG>
$ mkdir /tmp/unit-control # customize as needed.
$ docker run -d \
--mount type=bind,src=/tmp/unit-control,dst=/var/run \
Expand All @@ -53,6 +53,8 @@ $ docker run -d \
For a description of image tags, see the
[docs](https://unit.nginx.org/installation/#docker-images).

WARNING: latest image tag may not provide support for specific language modules,
*do* check the available image tags from the link above before pulling your image.

Your current working directory will now be mounted to the Unit image at `/www`.
You can reach its socket at `/tmp/unit-control/control.unit.sock` assuming no
Expand Down

0 comments on commit d7ce356

Please sign in to comment.