Author: Huan LI, A Docker Fan

Docker Pulls Docker Stars Docker Layers

dockeri.co

GitHub Repo: https://github.com/Chatie/docker-wechaty-getting-started

Features

  1. Wechaty is fully dockerized. So it will be very easy to be used as a MicroService.
  2. Clone the above repository, then you will be able to use Docker to run Wechaty with ZERO configuration.

Requirements

  1. Docker
  2. Global Internet Connection

Usage

1. Run Vanilla Javascript Example

bash -x bin/docker-run-javascript-vanilla.sh

2. Run ES6 Javascript Example

bash -x bin/docker-run-javascript-es6.sh

3. Run TypeScript Example

bash -x bin/docker-run-typescript.sh

Until then, enjoy!

Docker

1. Install Docker

Quick & easy install Docker via:

curl -sSL https://get.docker.com | sh

Or

wget -qO- https://get.docker.com/ | sh

Get to know more about Docker at: https://www.docker.com/

2. Use Docker Registry Mirror in China

Thanks Docker, there’s a official registry mirror in China, and you can use it by adding registry.docker-cn.com/ in front of the image name:

- docker pull zixia/wechaty
+ docker pull registry.docker-cn.com/zixia/wechaty

Learn more about the docker CN mirror at:

  • https://www.docker-cn.com/registry-mirror
  • https://docs.docker.com/registry/recipes/mirror/#use-case-the-china-registry-mirror