构建自己镜像步骤
- 安装docker
- 编写项目
- 编写dockerfile
- 构建镜像
- 运行容器
- push镜像到hub
构建自己镜像步骤
JSON-Server 一个在开发过程中使用的工具,称为[JSON 服务器](https://github.com/typicode/JSON-Server 服务器) ,作为我们的服务器
1 | int(round(time.time() * 1000)) |
输入一个时间戳 中国标准时间2019年9月1日上午8时 1567296000000 输出 ISO Date
1 | from subprocess import check_output, STDOUT |
How to catch exception output from Python subprocess.check_output()?
初始化一个nodejs项目