- System
- Image
- Build an imagePOST
- Delete builder cachePOST
- Create a new image from a containerPOST
- Create an imagePOST
- Export several imagesGET
- List ImagesGET
- Import imagesPOST
- Delete unused imagesPOST
- Search imagesGET
- Remove an imageDELETE
- Export an imageGET
- Get the history of an imageGET
- Inspect an imageGET
- Push an imagePOST
- Tag an imagePOST
- Config
- Container
- Create a container
- List containers
- Delete stopped containers
- Remove a container
- Get an archive of a filesystem resource in a container
- Get information about files in a container
- Extract an archive of files or folders to a directory in a container
- Attach to a container
- Attach to a container via a websocket
- Get changes on a container’s filesystem
- Export a container
- Inspect a container
- Kill a container
- Get container logs
- Pause a container
- Rename a container
- Resize a container TTY
- Restart a container
- Start a container
- Get container stats based on resource usage
- Stop a container
- List processes running inside a container
- Unpause a container
- Update a container
- Wait for a container
- Exec
- Distribution
- Network
- Node
- Plugin
- Secret
- Service
- Session (experimental)
- Swarm
- Task
- Volume
- Get task logsGET
Delete builder cache
/v1.33
/v1.33
/v1.33
/v1.33
POST
/build/prune
Image
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1.33/build/prune'
Response Response Example
200 - Example 1
{
"SpaceReclaimed": 0
}
Request
None
Responses
🟢200No error
application/json
Body
SpaceReclaimed
integer <int64>
optional
🔴500Server error
Modified at 2022-09-10 17:56:06