targon container
The targon container command and its subcommands help you manage serverless containers on Targon.
targon container ls
List all running containers.
targon container ls [UID] [OPTIONS]
Arguments
UID(optional): Filter the list to a specific container by its UID.
Options
--sort: Sort containers by field. Accepted values:created,name,cost. Defaults tocreated.--reverse: Reverse the sort order (descending).
The output is a table showing each container's name, UID, URL, cost per hour, and creation time, along with a total cost summary.
targon container rm
Delete one or more containers by UID.
targon container rm <UID>... [OPTIONS]
Arguments
UID: One or more container UIDs to delete.
Options
-y,--yes: Skip the confirmation prompt before deleting.