From 1e34751e3f314f366da5bda2ddf246dc43fa01e7 Mon Sep 17 00:00:00 2001 From: Sean Lawlor Date: Thu, 12 Jan 2023 13:33:07 -0500 Subject: [PATCH] Adding dockerhub pre-built image notes (#113) --- FAQ.md | 19 ++++++++++++++++++- README.md | 8 ++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index c2a4646..cac9412 100644 --- a/FAQ.md +++ b/FAQ.md @@ -75,4 +75,21 @@ If you're still seeing a problem, you may fill out a bug report in the issues fi Actually thanks to recent community fixes, HAProxy is no longer printing any warning messages. Your host is actually running in interactive mode. You should be able to navigate to the host's port 8199 to view the statistics page ([http://localhost:8199](http://localhost:8199) on the machine running the proxy). -Related issue [#71](https://github.com/WhatsApp/proxy/issues/71) \ No newline at end of file +Related issue [#71](https://github.com/WhatsApp/proxy/issues/71) + +### (10) Why isn't there a pre-built image on DockerHub? + +Apologies in the delay, but it takes some time to organize access to the +correct repositories. We're happy to announce there is now a pre-built image +based on the latest version in this repository. We'll strive to keep it +up-to-date as well. You can pull it (without needing to build locally) from + +```bash +docker pull facebook/whatsapp_proxy:latest +``` + +After you've pulled the image, you can then run it with the same run commands as before except substituting in `facebook/whatsapp_proxy:latest` instead of `whatsapp_proxy:1.0`. This will point to the latest image for you without having to worry about building it yourself. Example run command might be + +```bash +docker run -it -p 80:80 -p 443:443 -p 5222:5222 facebook/whatsapp_proxy:latest +``` diff --git a/README.md b/README.md index dbfa203..1ab59ff 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ If you already have a proxy to use, you can connect it to WhatsApp by following ## Setting up your proxy +**UPDATE** There is now a pre-built image hosted in Meta's DockerHub repository. You no longer need to build the default image (if you don't want to customize it of course). + +```bash +docker pull facebook/whatsapp_proxy:latest +``` + +You can then skip down to **Running the proxy** and substitute any tag of `whatsapp_proxy:1.0` with `facebook/whatsapp_proxy:latest`. + ### 1. Clone the repository to your local machine ```bash git clone https://github.com/WhatsApp/proxy.git