dcos marathon app remove

Removing an application

Description

The dcos marathon app remove command allows you to remove an application.

Usage

  1. dcos marathon app remove [--force] <app-id>

Options

NameDescription
—helpShow this message and exit.
—forceDisable checks in Marathon during updates.

Positional arguments

NameDescription
<app-id>The application ID. You can view a list of the application IDs with the dcos marathon app list command.

Example

Note in the following examples that no output is displayed after a successful remove operation. To verify that the remove operation was successful, run dcos marathon app list.

  1. $ dcos marathon app list
  2. ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
  3. /datastax-dse 1024 1 1/1 1/1 --- False N/A export...
  4. /spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh
  5. ~$ dcos marathon app remove datastax-dse
  6. ~$ dcos marathon app list
  7. ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
  8. /spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh

You can also use the --force option to disable Marathon checks:

  1. ~$ dcos marathon app list
  2. ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
  3. /cassandra 1024 1 1/1 1/1 --- False N/A export...
  4. /kafka 1024 1 0/0 0/0 --- False N/A export...
  5. /kubernetes 1024 1 0/1 0/0 scale True N/A export...
  6. /spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh
  7. ~$ dcos marathon app remove --force kafka
  8. ~$ dcos marathon app list
  9. ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
  10. /cassandra 1024 1 1/1 1/1 --- False N/A export...
  11. /kubernetes 1024 1 0/1 0/0 scale True N/A export...
  12. /spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh

Parent command

CommandDescription
dcos marathonDeploy and manage applications to DC/OS.