Specify the Docker registry in the build tag

This commit is contained in:
kaiyou 2018-02-08 21:58:12 +01:00
parent d8680c969b
commit 48e2c641b8

View File

@ -12,7 +12,7 @@ use that server.
Build the docker image with the `docker build` command from the root of the synapse repository. Build the docker image with the `docker build` command from the root of the synapse repository.
``` ```
docker build -t matrixdotorg/synapse . docker build -t docker.io/matrixdotorg/synapse .
``` ```
The `-t` option sets the image tag. Official images are tagged `matrixdotorg/synapse:<version>` where `<version>` is the same as the release tag in the synapse git repository. The `-t` option sets the image tag. Official images are tagged `matrixdotorg/synapse:<version>` where `<version>` is the same as the release tag in the synapse git repository.