Giter VIP home page Giter VIP logo

docker-learn's Introduction

一键部署以下项目

  • nodejs 开发体验 慢
  • python
  • nginx
  • apache/httpd
  • nodejs+mongo
  • python+redis
  • tomcat
  • egg.js 开发体验 慢
  • create-react-app 开发体验 极速
  • golang 开发体验 1.无法监听项目下文件变更,实现动态热更golang项目。2.可以规避的问题
  • vue-cli 开发体验 快
  • tensorflow 地址: docker pull pengliheng/tf

docker build --tag=<my project> 开发环境部署

docker build --tag=pengliheng/<my project>                                        # 新建docker image
docker run --rm -it -d -v $(pwd):/code -w -p 80:80 /code pengliheng/<my project>  # 在image层下新建一个container
docker ps -a -s                                                                   # 查询container id
docker attach <container id>                                                      # hack 进入container 进行开发

docker-composer up 生产环境部署

需要删除image才能修改之前提交的参数,,,,或许重新build一次可以改善问题...

docker-learn's People

Contributors

plh97 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.