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:
Jose Diaz-Gonzalez
2019-05-29 03:56:47 -04:00
parent cd5bc9c4c5
commit 635c161f38
3 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,7 @@ var (
_checkpointCommand,
_containerExistsCommand,
_contInspectSubCommand,
_cpCommand,
_diffCommand,
_exportCommand,
_createCommand,

View File

@ -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

View File

@ -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. |