spin prune [OPTIONS]
The following options are available to set when running this command.
| Option | Short | Default | Description |
|---|---|---|---|
--force | -f | false | Force the deletion of the local Docker and Spin caches. |
This command is a shortcut for docker system prune --all and can accept additional options that you pass to it. Spin defaults the --all for you already, so no need to add that.
If you want to clear volumes as well, you will need to add --volumes to the end of the command.
spin prune --volumes