supports a RESTful API for the Libpod library
This documentation describes the Podman v2.x+ RESTful API. It consists of a Docker-compatible API and a Libpod API providing support for Podman’s unique features such as pods. To start the service and keep it running for 5,000 seconds (-t 0 runs forever): podman system service -t 5000 & You can then use cURL on the socket using requests documented below. NOTE: if you install the package podman-docker, it will create a symbolic link for /run/docker.sock to /run/podman/podman.sock NOTE: Some fields in the API response JSON are encoded as omitempty, which means that if said field has a zero value
What You Can Do
MCP Tools
systemauth
Check auth configuration
imagebuild
Build image
imagecommit
New Image
containerdelete
Remove a container
containerarchive
Get files from a container
putcontainerarchive
Put files into a container
containerattach
Attach to a container
containerchanges
Report on changes to container's filesystem; adds, deletes or modifications.
containerexec
Create an exec instance
containerexport
Export a container
containerinspect
Inspect container
containerkill
Kill container
containerlogs
Get container logs
containerpause
Pause container
containerrename
Rename an existing container
containerresize
Resize a container's TTY
containerrestart
Restart container
containerstart
Start a container
containerstats
Get stats for a container
containerstop
Stop a container
containertop
List processes running inside a container
containerunpause
Unpause container
containerupdate
Update configuration of an existing container, allowing changes to resource limits
containerwait
Wait on a container
containercreate
Create a container
containerlist
List containers
containerprune
Delete stopped containers
systemevents
Get events
execinspect
Inspect an exec instance
execresize
Resize an exec instance
execstart
Start an exec instance
imagedelete
Remove Image
imageget
Export an image
imagehistory
History of an image
imageinspect
Inspect an image
imagepush
Push Image
imagetag
Tag an image
imagecreate
Create an image
imagegetall
Export several images
imagelist
List Images
imageload
Import image
imageprune
Prune unused images
imagesearch
Search images
systeminfo
Get info
systemping
Ping service
artifactdeletelibpod
Remove an artifact
artifactextractlibpod
Extract an artifacts contents
artifactinspectlibpod
Inspect an artifact
artifactpushlibpod
Push an artifact
artifactaddlibpod
Add a file as an artifact
artifactlistlibpod
List artifacts
artifactlocallibpod
Add a local file as an artifact
artifactpulllibpod
Pull an artifact
artifactdeletealllibpod
Remove one or more artifacts
imagebuildlibpod
Build image
imagecommitlibpod
Commit
containerdeletelibpod
Delete container
containerarchivelibpod
Copy files from a container
putcontainerarchivelibpod
Copy files into a container
containerattachlibpod
Attach to a container