append :main to docker docs

pull/3/head^2
CTome 2023-03-20 15:07:06 +00:00 committed by GitHub
parent 5301883205
commit 06acd19f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ sudo docker build -t hullblogs . # builds the container
sudo docker run -itdp unused-port-number:80 hullblogs # runs the site on a port that is available
# visit localhost:port or ip:port if you are hosting on a VPS and the site should be available to view
```
If you don't want to clone the repo and *just* want to run the site you can do `sudo docker run -itdp unused-port-number:80 crimsontome427/hullblogs`
If you don't want to clone the repo and *just* want to run the site you can do `sudo docker run -itdp unused-port-number:80 crimsontome427/hullblogs:main`
Using a tool like [Ouroboros](https://github.com/gmt2001/ouroboros) you can automatically update the container without the need for a rebuild each time, this can only be done if Ouroboros can see your container in a registry.