Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/proyang/docker-node-nginx
FE Docker 实践基础示例( pm2 + node + nginx )
https://github.com/proyang/docker-node-nginx
Last synced: 1 day ago
JSON representation
FE Docker 实践基础示例( pm2 + node + nginx )
- Host: GitHub
- URL: https://github.com/proyang/docker-node-nginx
- Owner: proYang
- Created: 2018-10-23T10:25:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T12:05:46.000Z (about 6 years ago)
- Last Synced: 2024-11-29T18:31:21.634Z (2 months ago)
- Language: Dockerfile
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FE Docker 实践基础示例( pm2 + node + nginx )
## Dockerfile最佳实践
[官方文档](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/)
[如何编写最佳的Dockerfile](https://blog.fundebug.com/2017/05/15/write-excellent-dockerfile/)## docker-compose 常用命令
Docker for Mac && Windows 内置 docker-compost,其余Linux系统需要安装Docker后,再安装Docker Compose
```bash
docker-compose stop # 停止容器
docker-compose rm # 删除容器
docker-compose build # 重新建立
docker-compose up -d # 启动运行 加-d 表示后台运行
```## docker 常用命令
[Top 10 Docker CLI commands you can’t live without](https://medium.com/the-code-review/top-10-docker-commands-you-cant-live-without-54fb6377f481)