github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/container.md (about)

     1  
     2  # container
     3  
     4  <!---MARKER_GEN_START-->
     5  Manage containers
     6  
     7  ### Subcommands
     8  
     9  | Name                              | Description                                                                   |
    10  |:----------------------------------|:------------------------------------------------------------------------------|
    11  | [`attach`](container_attach.md)   | Attach local standard input, output, and error streams to a running container |
    12  | [`commit`](container_commit.md)   | Create a new image from a container's changes                                 |
    13  | [`cp`](container_cp.md)           | Copy files/folders between a container and the local filesystem               |
    14  | [`create`](container_create.md)   | Create a new container                                                        |
    15  | [`diff`](container_diff.md)       | Inspect changes to files or directories on a container's filesystem           |
    16  | [`exec`](container_exec.md)       | Execute a command in a running container                                      |
    17  | [`export`](container_export.md)   | Export a container's filesystem as a tar archive                              |
    18  | [`inspect`](container_inspect.md) | Display detailed information on one or more containers                        |
    19  | [`kill`](container_kill.md)       | Kill one or more running containers                                           |
    20  | [`logs`](container_logs.md)       | Fetch the logs of a container                                                 |
    21  | [`ls`](container_ls.md)           | List containers                                                               |
    22  | [`pause`](container_pause.md)     | Pause all processes within one or more containers                             |
    23  | [`port`](container_port.md)       | List port mappings or a specific mapping for the container                    |
    24  | [`prune`](container_prune.md)     | Remove all stopped containers                                                 |
    25  | [`rename`](container_rename.md)   | Rename a container                                                            |
    26  | [`restart`](container_restart.md) | Restart one or more containers                                                |
    27  | [`rm`](container_rm.md)           | Remove one or more containers                                                 |
    28  | [`run`](container_run.md)         | Create and run a new container from an image                                  |
    29  | [`start`](container_start.md)     | Start one or more stopped containers                                          |
    30  | [`stats`](container_stats.md)     | Display a live stream of container(s) resource usage statistics               |
    31  | [`stop`](container_stop.md)       | Stop one or more running containers                                           |
    32  | [`top`](container_top.md)         | Display the running processes of a container                                  |
    33  | [`unpause`](container_unpause.md) | Unpause all processes within one or more containers                           |
    34  | [`update`](container_update.md)   | Update configuration of one or more containers                                |
    35  | [`wait`](container_wait.md)       | Block until one or more containers stop, then print their exit codes          |
    36  
    37  
    38  
    39  <!---MARKER_GEN_END-->
    40  
    41  ## Description
    42  
    43  Manage containers.
    44