Docker
Remove Container
Remove a Hummingbot container and optionally archive its bot data.
NOTE: This endpoint only works with Hummingbot containers (names starting with 'hummingbot-') as it archives bot-specific data from the bots/instances directory.
Args: container_name: Name of the Hummingbot container to remove archive_locally: Whether to archive data locally (default: True) s3_bucket: S3 bucket name for cloud archiving (optional) docker_service: Docker service dependency bot_archiver: Bot archiver service dependency
Returns: Response from container removal operation
Raises: HTTPException: 400 if container is not a Hummingbot container HTTPException: 500 if archiving fails
post/docker/remove-container/{container_name}
Path parameters
container_namestring required
Query parameters
archive_locallyboolean
s3_bucketstring
Response
Successful Response
{"stackTrail":"paths:/docker/remove-container/{container_name}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}