Skip to content

Instantly share code, notes, and snippets.

@ZJUGuoShuai
Created June 18, 2019 12:29
Show Gist options
  • Select an option

  • Save ZJUGuoShuai/0c3c812a23868bfd472888ef2793285e to your computer and use it in GitHub Desktop.

Select an option

Save ZJUGuoShuai/0c3c812a23868bfd472888ef2793285e to your computer and use it in GitHub Desktop.
  1. 从压缩包恢复镜像 执行下面的命令将镜像读入本地:
$ docker load < chatbot_image.tar.gz
  1. 从镜像运行容器 执行下面的命令,从镜像运行一个容器示例:
$ docker run -it --rm --name chatbot -p 8080:8080 -p 5000:5000 chatbot:v0.3 /run.sh
  1. 打开本机浏览器开始使用 打开浏览器,输入地址 127.0.0.1:8080 开始使用聊天界面。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment