wechaty-settings

创建docker image

  1. 下载docker.dmg 双击安装 链接
  2. 在对应的文件下 docker build
    1
    docker build -t wondercv_wechaty .
  1. 在远程仓库再打一个tag

    1
    docker tag wondercv_wechaty wondercv/wechaty:latest
  2. 推上去 docker push wondercv/wechaty:lastest

查看命令
docker image ls
docker container ls

wechaty

  1. docker login
  2. docker pull wondercv/wechaty:latest
  3. docker run -d -t -i –rm –name=lydiashenyang -e WECHATY_PUPPET_PADPRO_TOKEN=”puppet_padpro_2d85d172d6d3c5e1” wondercv/wechaty:latest
  4. docker container logs lydiashenyang -f
  5. docker container stop ChaoJiJianLi