创建docker image
- 下载docker.dmg 双击安装 链接
- 在对应的文件下 docker build
1
docker build -t wondercv_wechaty .
在远程仓库再打一个tag
1
docker tag wondercv_wechaty wondercv/wechaty:latest
推上去 docker push wondercv/wechaty:lastest
查看命令
docker image ls
docker container ls
wechaty
- docker login
- docker pull wondercv/wechaty:latest
- docker run -d -t -i –rm –name=lydiashenyang -e WECHATY_PUPPET_PADPRO_TOKEN=”puppet_padpro_2d85d172d6d3c5e1” wondercv/wechaty:latest
- docker container logs lydiashenyang -f
- docker container stop ChaoJiJianLi