The decision is in, kpod is going to be named podman. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #145 Approved by: umohnani8
4.6 KiB
PODMAN Usage Transfer
This document outlines useful information for ops and dev transfer as it relates to infrastructure that utilizes PODMAN.
Operational Transfer
Abstract
The crio
daemon is intended to provide the CRI socket needed for Kubernetes to use for automating deployment, scaling, and management of containerized applications (See the document for configuring kubernetes to use PODMAN for more information on that).
Therefore the crioctl
command line is a client that interfaces to the same grpc socket as the kubernetes daemon would, for talking to the crio
daemon.
In many ways crioctl
is only as feature rich as the Kubernetes CRI requires.
There are additional tools e.g. podman
and buildah
that provide a feature rich set of commands for all operational needs in a Kubernetes environment.
System Tools
Many traditional tools will still be useful, such as pstree
, nsenter
and lsns
.
As well as some systemd helpers like systemd-cgls
and systemd-cgtop
are still just as applicable.
Equivalents
For many troubleshooting and information collection steps, there may be an existing pattern. Following provides equivalent with PODMAN tools for gathering information or jumping into containers, for operational use.
Existing Step | PODMAN (and friends) |
---|---|
docker exec |
podman exec |
docker info |
podman info |
docker inspect |
podman inspect |
docker logs |
podman logs |
docker ps |
podman ps |
docker stats |
podman stats |
Development Transfer
There are other equivalents for these tools
Existing Step | PODMAN (and friends) |
---|---|
docker attach |
podman exec *** |
docker build |
buildah bud |
docker commit |
buildah commit |
docker cp |
podman mount **** |
docker create |
podman create |
docker diff |
podman diff |
docker export |
podman export |
docker history |
podman history |
docker images |
podman images |
docker kill |
podman kill |
docker load |
podman load |
docker login |
podman login |
docker logout |
podman logout |
docker pause |
podman pause |
docker ps |
podman ps |
docker pull |
podman pull |
docker push |
podman push |
docker rm |
podman rm |
docker rmi |
podman rmi |
docker run |
podman run |
docker save |
podman save |
docker stop |
podman stop |
docker tag |
podman tag |
docker unpause |
podman unpause |
docker version |
podman version |
docker wait |
podman wait |
*** Use podman exec
to enter a container and podman logs
to view the output of pid 1 of a container.
**** Use mount to take advantage of the entire linux tool chain rather then just cp. Read here
for more information.
Missing commands in podman
Those Docker commands currently do not have equivalents in podman
:
docker container
docker events
docker image
docker network
docker node
docker plugin
docker port
docker rename
docker restart
docker search
docker secret
docker service
docker stack
docker swarm
docker system
docker top
docker volume
Missing commands in Docker
The following podman commands do not have a Docker equivalent: