Giter VIP home page Giter VIP logo

docker-env-compose's Introduction

Install Docker

https://docs.docker.com/engine/installation/

https://docs.docker.com/compose/install/

Start

Execute docker-compose up -d --no-recreate <service> for setting up some particular services e.g. docker-compose up -d --no-recreate pg94 mysql51 or just docker-compose up -d --no-recreate.

Remove

docker-compose stop <service> && docker-compose rm --force <service> e.g. docker-compose stop pg94 && docker-compose rm --force pg94

Update images

docker-compose pull <service> e.g. docker-compose pull mysql51 mysql55 mysql56

Statefull services

For saving a state of a service you can use the stop command: docker-compose stop <service> e.g. docker-compose stop pg94

Useful links

  1. https://docs.docker.com/compose/
  2. https://github.com/docker/compose
  3. https://github.com/sdurrheimer/docker-compose-zsh-completion
  4. http://stackoverflow.com/a/32023104/1553664
  5. https://github.com/chadoe/docker-cleanup-volumes โ€“ remove unused images
  6. https://github.com/brogersyh/Dockerfiles-for-windows

docker-env-compose's People

Contributors

kassak-jb avatar tjlee avatar

Watchers

 avatar  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.