Use containers to build and deploy Heroku apps
Last updated 2 years ago by rasphilco .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install heroku-container-tools 
SYNC missed versions from official npm registry.

Heroku Container Tools CLI plugin

/!\ This plugin is deprecated. Please see our Container Registry and Runtime instead.

Heroku Toolbelt plugin to help configure, test and release apps to Heroku using local containers.


$ heroku plugins:install heroku-container-tools


$ heroku help container
Usage: heroku container

  Use containers to build and deploy Heroku apps

Additional commands, type "heroku help COMMAND" for more details:

  container:init     #  create Dockerfile and docker-compose.yml
  container:release  #  create and release slug to app

For help with a particular command:

$ heroku help container:init
Usage: heroku container:init

   -i, --image IMAGE   # the Docker image from which to inherit
   -f, --force         # overwrite existing Dockerfile and docker-compose.yml

  Creates a Dockerfile and docker-compose.yml for the app specified in app.json

Developing and contributing

Checkout the plugin source code and tell the Heroku CLI to use your local version of the plugin (instead of the default one distributed with NPM).

$ git clone https://github.com/heroku/heroku-container-tools.git
$ cd heroku-container-tools
$ npm install
$ heroku plugins:link .


The mapping from Heroku add-on specified in app.json to container configured in docker-compose.yml is tracked in lib\app.json. The mapping currently includes a limited subset of add-ons that we have tested. We welcome additions in the form of PRs.

Current Tags

  • 4.0.2                                ...           latest (2 years ago)

5 Versions

  • 4.0.2                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 10
Dependencies (13)
Dev Dependencies (6)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |