terra-ops / terra-cli

The Terra Command Line Interface
http://terra.readthedocs.org
GNU General Public License v2.0
48 stars 17 forks source link

Removing an app w/o removing its environments leaves Docker containers #92

Closed proofoftom closed 8 years ago

proofoftom commented 8 years ago
~/Apps/terra/drupal# terra status
Hello Terra!
+--------+-------------------------------------------------+-----------------------------------------+--------------+
| APPS   | Description                                     | Repo                                    | Environments |
+--------+-------------------------------------------------+-----------------------------------------+--------------+
| drupal | This is an example codebase for use with Terra. | https://github.com/jonpugh/drupal-terra | test         |
+--------+-------------------------------------------------+-----------------------------------------+--------------+

~/Apps/terra/drupal# terra app:remove drupal
Are you sure you would like to remove the app drupal? [y/N] y
App drupal has been removed.

~/Apps/terra/drupal# terra status
Hello Terra!
+------+-------------+------+--------------+
| APPS | Description | Repo | Environments |
+------+-------------+------+--------------+

~/Apps/terra/drupal# docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS                                      NAMES
48a24596b15a        terra/drush:latest     "/usr/local/bin/kdrus"   7 minutes ago       Up 7 minutes        80/tcp, 443/tcp, 0.0.0.0:32777->22/tcp     drupaltest_drush_1
38387f2e2ff2        tutum/haproxy:latest   "python /haproxy/main"   7 minutes ago       Up 7 minutes        443/tcp, 1936/tcp, 0.0.0.0:32776->80/tcp   drupaltest_load_1
90046256d767        terra/drupal:latest    "/bin/sh -c 'rm -rf /"   7 minutes ago       Up 7 minutes        80/tcp, 443/tcp                            drupaltest_app_1
a622a33f8924        mariadb:latest         "/docker-entrypoint.s"   7 minutes ago       Up 7 minutes        3306/tcp                                   drupaltest_database_1
proofoftom commented 8 years ago

Looks like there is a todo here. Sorry for my :imp:atience