NAME¶ 名称
podman-container - Manage containers
podman-container - 管理容器
SYNOPSIS¶ 概要
podman container subcommand
podman 容器子命令
DESCRIPTION¶ 描述
The container command allows management of containers
容器命令允许管理容器
COMMANDS¶ 命令 ¶
Command |
Man Page 手册页 |
Description |
---|---|---|
attach |
Attach to a running container. |
|
checkpoint |
Checkpoint one or more running containers. |
|
cleanup |
Clean up the container’s network and mountpoints. |
|
clone |
Create a copy of an existing container. |
|
commit |
Create new image based on the changed container. |
|
cp |
Copy files/folders between a container and the local filesystem. |
|
create |
Create a new container. 创建一个新容器。 |
|
diff |
Inspect changes on a container’s filesystem |
|
exec |
Execute a command in a running container. |
|
exists |
Check if a container exists in local storage |
|
export |
Export a container’s filesystem contents as a tar archive. |
|
init |
Initialize a container 初始化容器 |
|
inspect |
Display a container’s configuration. |
|
kill |
Kill the main process in one or more containers. |
|
list |
List the containers on the system.(alias ls) |
|
logs |
Display the logs of a container. |
|
mount |
Mount a working container’s root filesystem. |
|
pause |
Pause one or more containers. |
|
port |
List port mappings for the container. |
|
prune |
Remove all stopped containers from local storage. |
|
ps |
Print out information about containers. |
|
rename |
Rename an existing container. |
|
restart |
Restart one or more containers. |
|
restore |
Restore one or more containers from a checkpoint. |
|
rm |
Remove one or more containers. |
|
run |
Run a command in a container. |
|
runlabel |
Execute a command as described by a container-image label. |
|
start |
Start one or more containers. |
|
stats |
Display a live stream of one or more container’s resource usage statistics. |
|
stop |
Stop one or more running containers. |
|
top |
Display the running processes of a container. |
|
unmount |
Unmount a working container’s root filesystem.(Alias unmount) |
|
unpause |
Unpause one or more containers. |
|
update |
Update the cgroup configuration of a given container. |
|
wait |
Wait on one or more containers to stop and print their exit codes. |