mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
add missing container cp command
'docker cp' is an alias for 'docker container cp', and podman should have the equivalent alias. Signed-off-by: Jose Diaz-Gonzalez <email@josediazgonzalez.com>
This commit is contained in:
@ -54,6 +54,7 @@ var (
|
||||
_checkpointCommand,
|
||||
_containerExistsCommand,
|
||||
_contInspectSubCommand,
|
||||
_cpCommand,
|
||||
_diffCommand,
|
||||
_exportCommand,
|
||||
_createCommand,
|
||||
|
@ -764,6 +764,10 @@ _podman_container_commit() {
|
||||
_podman_commit
|
||||
}
|
||||
|
||||
_podman_container_cp() {
|
||||
_podman_cp
|
||||
}
|
||||
|
||||
_podman_container_create() {
|
||||
_podman_create
|
||||
}
|
||||
@ -961,6 +965,7 @@ _podman_container() {
|
||||
attach
|
||||
checkpoint
|
||||
commit
|
||||
cp
|
||||
create
|
||||
diff
|
||||
exec
|
||||
|
@ -17,6 +17,7 @@ The container command allows you to manage containers
|
||||
| checkpoint | [podman-container-checkpoint(1)](podman-container-checkpoint.1.md) | Checkpoints one or more containers. |
|
||||
| cleanup | [podman-container-cleanup(1)](podman-container-cleanup.1.md) | Cleanup containers network and mountpoints. |
|
||||
| commit | [podman-commit(1)](podman-commit.1.md) | Create new image based on the changed container. |
|
||||
| cp | [podman-cp(1)](podman-cp.1.md) | Copy files/folders between a container and the local filesystem. |
|
||||
| create | [podman-create(1)](podman-create.1.md) | Create a new container. |
|
||||
| diff | [podman-diff(1)](podman-diff.1.md) | Inspect changes on a container or image's filesystem. |
|
||||
| exec | [podman-exec(1)](podman-exec.1.md) | Execute a command in a running container. |
|
||||
|
Reference in New Issue
Block a user