Fix docker documentation.

This commit is contained in:
John Livingston 2021-11-25 12:55:59 +01:00
parent 215c5c7f1e
commit 6dbb6286e3
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -21,8 +21,18 @@ Create an access token on your hub.docker.com account, then use
`sudo docker login --username johnxlivingston` to add your credentials.
```shell
# pull the current peertube production image:
sudo docker pull chocobozzz/peertube:production-buster
# build the docker image, if not done yet:
sudo docker build . -f docker/Dockerfile.buster
# list images to find the image id:
sudo docker images
#REPOSITORY TAG IMAGE ID CREATED SIZE
#<none> <none> 0209eea56505 17 seconds ago 1.19GB
#chocobozzz/peertube production-buster 4af03ae51fd2 4 days ago 1.17GB
# tag the image:
sudo docker tag 0209eea56505 johnxlivingston/peertubelivechat:production-buster
# push on the main tag name:
sudo docker push johnxlivingston/peertubelivechat:production-buster
# push on the current peertube tag name: