This example illustrates how the Docker plugin can be used to delete a Docker container.
The example is an continuation of the example: How-to: Create Docker container. Please visit the example, since this example reuses the module defined in that particular example.
The important point is that the semantics of the module model depends on the invoked operation: