Docker-compose rm Can I ignore a container?

Children have a problem, I use the Docker tool chain to build the development environment, and use Compose to do the arrangement. Now I have Node.js, Redis, MySQL, the data of these four containers, but each time compose rm will delete the data container, I would like to ignore the data container when rm, there is no way? 2015-04-10 add comment share it

  • Weibo
  • QZONE
  • Micro letter

Did not find the relevant results

    Invited:

    Forced to force Shaoxing – where to network Internet R & D engineers, docker hobbies

    Agree from: jamlee


    You can put the data container as a docker-compose.yml alone
    Other containers want to communicate with it can use external_links

    Heads up! This alert needs your attention, but it's not super important.