Cleanup Documentation and bash completions

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #159
Approved by: TomSweeneyRedHat
This commit is contained in:
Daniel J Walsh
2017-12-20 05:35:51 -05:00
committed by Atomic Bot
parent 1f49f555af
commit 6065f18da6
22 changed files with 80 additions and 70 deletions

View File

@ -31,16 +31,19 @@ The plan is to use OCI projects and best of breed libraries for different aspect
libpod is currently in active development. libpod is currently in active development.
## Commands ## Commands
| Command | Description | Demo| | Command | Description | Demo|
| ---------------------------------------------------- | --------------------------------------------------------------------------|-----| | :------------------------------------------------------- | :------------------------------------------------------------------------ | :----|
| [podman(1)](/docs/podman.1.md) | Simple management tool for pods and images || | [podman(1)](/docs/podman.1.md) | Simple management tool for pods and images ||
| [podman-attach(1)](/docs/podman-attach.1.md) | Attach to a running container. | [podman-attach(1)](/docs/podman-attach.1.md) | Attach to a running container ||
| [podman-cp(1)](/docs/podman-cp.1.md) | Instead of providing a `podman cp` command, the man page `podman-cp` describes how to use the `podman mount` command to have even more flexibility and functionality.|| | [podman-commit(1)](/docs/podman-commit.1.md) | Create new image based on the changed container ||
| [podman-cp(1)](/docs/podman-cp.1.md) | Instead of providing a `podman cp` command, the man page `podman-cp` describes how to use the `podman mount` command to have even more flexibility and functionality||
| [podman-create(1)](/docs/podman-create.1.md) | Create a new container ||
| [podman-diff(1)](/docs/podman-diff.1.md) | Inspect changes on a container or image's filesystem |[![...](/docs/play.png)](https://asciinema.org/a/FXfWB9CKYFwYM4EfqW3NSZy1G)| | [podman-diff(1)](/docs/podman-diff.1.md) | Inspect changes on a container or image's filesystem |[![...](/docs/play.png)](https://asciinema.org/a/FXfWB9CKYFwYM4EfqW3NSZy1G)|
| [podman-exec(1)](/docs/podman-exec.1.md) | Execute a command in a running container. | [podman-exec(1)](/docs/podman-exec.1.md) | Execute a command in a running container
| [podman-export(1)](/docs/podman-export.1.md) | Export container's filesystem contents as a tar archive |[![...](/docs/play.png)](https://asciinema.org/a/913lBIRAg5hK8asyIhhkQVLtV)| | [podman-export(1)](/docs/podman-export.1.md) | Export container's filesystem contents as a tar archive |[![...](/docs/play.png)](https://asciinema.org/a/913lBIRAg5hK8asyIhhkQVLtV)|
| [podman-history(1)](/docs/podman-history.1.md) | Shows the history of an image |[![...](/docs/play.png)](https://asciinema.org/a/bCvUQJ6DkxInMELZdc5DinNSx)| | [podman-history(1)](/docs/podman-history.1.md) | Shows the history of an image |[![...](/docs/play.png)](https://asciinema.org/a/bCvUQJ6DkxInMELZdc5DinNSx)|
| [podman-images(1)](/docs/podman-images.1.md) | List images in local storage |[![...](/docs/play.png)](https://asciinema.org/a/133649)| | [podman-images(1)](/docs/podman-images.1.md) | List images in local storage |[![...](/docs/play.png)](https://asciinema.org/a/133649)|
| [podman-import(1)](/docs/podman-import.1.md) | Import a tarball and save it as a filesystem image ||
| [podman-info(1)](/docs/podman-info.1.md) | Display system information || | [podman-info(1)](/docs/podman-info.1.md) | Display system information ||
| [podman-inspect(1)](/docs/podman-inspect.1.md) | Display the configuration of a container or image |[![...](/docs/play.png)](https://asciinema.org/a/133418)| | [podman-inspect(1)](/docs/podman-inspect.1.md) | Display the configuration of a container or image |[![...](/docs/play.png)](https://asciinema.org/a/133418)|
| [podman-kill(1)](/docs/podman-kill.1.md) | Kill the main process in one or more running containers |[![...](/docs/play.png)](https://asciinema.org/a/3jNos0A5yzO4hChu7ddKkUPw7)| | [podman-kill(1)](/docs/podman-kill.1.md) | Kill the main process in one or more running containers |[![...](/docs/play.png)](https://asciinema.org/a/3jNos0A5yzO4hChu7ddKkUPw7)|
@ -53,7 +56,6 @@ libpod is currently in active development.
| [podman-ps(1)](/docs/podman-ps.1.md) | Prints out information about containers |[![...](/docs/play.png)](https://asciinema.org/a/bbT41kac6CwZ5giESmZLIaTLR)| | [podman-ps(1)](/docs/podman-ps.1.md) | Prints out information about containers |[![...](/docs/play.png)](https://asciinema.org/a/bbT41kac6CwZ5giESmZLIaTLR)|
| [podman-pull(1)](/docs/podman-pull.1.md) | Pull an image from a registry |[![...](/docs/play.png)](https://asciinema.org/a/lr4zfoynHJOUNu1KaXa1dwG2X)| | [podman-pull(1)](/docs/podman-pull.1.md) | Pull an image from a registry |[![...](/docs/play.png)](https://asciinema.org/a/lr4zfoynHJOUNu1KaXa1dwG2X)|
| [podman-push(1)](/docs/podman-push.1.md) | Push an image to a specified destination |[![...](/docs/play.png)](https://asciinema.org/a/133276)| | [podman-push(1)](/docs/podman-push.1.md) | Push an image to a specified destination |[![...](/docs/play.png)](https://asciinema.org/a/133276)|
| [podman-rename(1)](/docs/podman-rename.1.md) | Rename a container ||
| [podman-rm(1)](/docs/podman-rm.1.md) | Removes one or more containers |[![...](/docs/play.png)](https://asciinema.org/a/7EMk22WrfGtKWmgHJX9Nze1Qp)| | [podman-rm(1)](/docs/podman-rm.1.md) | Removes one or more containers |[![...](/docs/play.png)](https://asciinema.org/a/7EMk22WrfGtKWmgHJX9Nze1Qp)|
| [podman-rmi(1)](/docs/podman-rmi.1.md) | Removes one or more images |[![...](/docs/play.png)](https://asciinema.org/a/133799)| | [podman-rmi(1)](/docs/podman-rmi.1.md) | Removes one or more images |[![...](/docs/play.png)](https://asciinema.org/a/133799)|
| [podman-save(1)](/docs/podman-save.1.md) | Saves an image to an archive |[![...](/docs/play.png)](https://asciinema.org/a/kp8kOaexEhEa20P1KLZ3L5X4g)| | [podman-save(1)](/docs/podman-save.1.md) | Saves an image to an archive |[![...](/docs/play.png)](https://asciinema.org/a/kp8kOaexEhEa20P1KLZ3L5X4g)|

View File

@ -1501,7 +1501,6 @@ _podman_podman() {
ps ps
pull pull
push push
rename
rm rm
rmi rmi
run run
@ -1510,6 +1509,7 @@ _podman_podman() {
stats stats
stop stop
tag tag
top
umount umount
unmount unmount
unpause unpause

View File

@ -3,7 +3,7 @@
# podman-attach "1" "December 2017" "podman" # podman-attach "1" "December 2017" "podman"
## NAME ## NAME
podman-attach - Attach to a running container podman attach - Attach to a running container
## SYNOPSIS ## SYNOPSIS
**podman attach [OPTIONS] CONTAINER** **podman attach [OPTIONS] CONTAINER**

View File

@ -3,7 +3,7 @@
# podman-commit "1" "December 2017" "podman" # podman-commit "1" "December 2017" "podman"
## NAME ## NAME
podman-commit - Create new image based on the changed container podman commit - Create new image based on the changed container
## SYNOPSIS ## SYNOPSIS
**podman commit** **podman commit**

View File

@ -3,7 +3,7 @@
# podman-cp "1" "August 2017" "podman" # podman-cp "1" "August 2017" "podman"
## NAME ## NAME
podman-cp - Copy files/folders between a container and the local filesystem. podman cp - Copy files/folders between a container and the local filesystem
## Description ## Description
We chose not to implement the `cp` feature in `podman` even though the upstream Docker We chose not to implement the `cp` feature in `podman` even though the upstream Docker

View File

@ -1,11 +1,13 @@
% podman(1) podman-create - Create a new container % podman(1) podman-create - Create a new container
% Dan Walsh % Dan Walsh
podman-create - Create a new container
# SYNOPSIS ## NAME
podman create - Create a new container
## SYNOPSIS
**podman create** [*options* [...]] IMAGE [COMMAND] [ARG...] **podman create** [*options* [...]] IMAGE [COMMAND] [ARG...]
# DESCRIPTION ## DESCRIPTION
Creates a writeable container layer over the specified image and prepares it for Creates a writeable container layer over the specified image and prepares it for
running the specified command. The container ID is then printed to STDOUT. This running the specified command. The container ID is then printed to STDOUT. This
@ -15,7 +17,7 @@ any point.
The initial status of the container created with **podman create** is 'created'. The initial status of the container created with **podman create** is 'created'.
# OPTIONS ## OPTIONS
**--add-host**=[] **--add-host**=[]
Add a custom host-to-IP mapping (host:ip) Add a custom host-to-IP mapping (host:ip)
@ -561,9 +563,9 @@ the `nocopy` flag. The `nocopy` flag can be set on bind mounts and named volumes
The image developer can set a different default with the WORKDIR instruction. The operator The image developer can set a different default with the WORKDIR instruction. The operator
can override the working directory by using the **-w** option. can override the working directory by using the **-w** option.
# EXAMPLES ## EXAMPLES
# HISTORY ## HISTORY
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
September 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> September 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
November 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> November 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>

View File

@ -3,7 +3,7 @@
# podman-exec "1" "December 2017" "podman" # podman-exec "1" "December 2017" "podman"
## NAME ## NAME
podman-exec - Execute a command in a running container podman exec - Execute a command in a running container
## SYNOPSIS ## SYNOPSIS
**podman exec** **podman exec**

View File

@ -3,7 +3,7 @@
# podman-export "1" "July 2017" "podman" # podman-export "1" "July 2017" "podman"
## NAME ## NAME
podman-export - Export container's filesystem contents as a tar archive podman export - Export container's filesystem contents as a tar archive
## SYNOPSIS ## SYNOPSIS
**podman export** **podman export**

View File

@ -3,7 +3,7 @@
% podman-history "1" "JULY 2017" "podman" % podman-history "1" "JULY 2017" "podman"
## NAME ## NAME
podman-history - Shows the history of an image podman history - Shows the history of an image
## SYNOPSIS ## SYNOPSIS
**podman history** **podman history**

View File

@ -3,7 +3,7 @@
# podman-import "1" "November 2017" "podman" # podman-import "1" "November 2017" "podman"
## NAME ## NAME
podman-import - import a tarball and save it as a filesystem image podman import - Import a tarball and save it as a filesystem image
## SYNOPSIS ## SYNOPSIS
**podman import** **podman import**

View File

@ -3,7 +3,7 @@
% podman-version "1" "JULY 2017" "podman" % podman-version "1" "JULY 2017" "podman"
## NAME ## NAME
podman-info - Display system information podman info - Display system information
## SYNOPSIS ## SYNOPSIS

View File

@ -3,7 +3,7 @@
# podman-load "1" "July 2017" "podman" # podman-load "1" "July 2017" "podman"
## NAME ## NAME
podman-load - Load an image from docker archive podman load - Load an image from docker archive
## SYNOPSIS ## SYNOPSIS
**podman load** **podman load**

View File

@ -3,7 +3,7 @@
# podman-login "1" "August 2017" "podman" # podman-login "1" "August 2017" "podman"
## NAME ## NAME
podman-login - Login to a container registry podman login - Login to a container registry
## SYNOPSIS ## SYNOPSIS
**podman login** **podman login**

View File

@ -3,7 +3,7 @@
# podman-logout "1" "August 2017" "podman" # podman-logout "1" "August 2017" "podman"
## NAME ## NAME
podman-logout - Logout of a container registry podman logout - Logout of a container registry
## SYNOPSIS ## SYNOPSIS
**podman logout** **podman logout**

View File

@ -3,7 +3,7 @@
% podman-ps "1" "AUGUST 2017" "podman" % podman-ps "1" "AUGUST 2017" "podman"
## NAME ## NAME
podman-ps - Prints out information about containers podman ps - Prints out information about containers
## SYNOPSIS ## SYNOPSIS
**podman ps** **podman ps**

View File

@ -3,7 +3,7 @@
# podman-pull "1" "July 2017" "podman" # podman-pull "1" "July 2017" "podman"
## NAME ## NAME
podman-pull - Pull an image from a registry podman pull - Pull an image from a registry
## SYNOPSIS ## SYNOPSIS
**podman pull** **podman pull**

View File

@ -1,11 +1,13 @@
% podman(1) podman-run - Run a command in a container % podman(1) podman-run - Run a command in a container
% Dan Walsh % Dan Walsh
podman-run - Run a command in a new container
# SYNOPSIS ## NAME
podman run - Run a command in a new container
## SYNOPSIS
**podman run** [*options* [...]] IMAGE [COMMAND] [ARG...] **podman run** [*options* [...]] IMAGE [COMMAND] [ARG...]
# DESCRIPTION ## DESCRIPTION
Run a process in a new container. **podman run** starts a process with its own Run a process in a new container. **podman run** starts a process with its own
file system, its own networking, and its own isolated process tree. The IMAGE file system, its own networking, and its own isolated process tree. The IMAGE
@ -19,7 +21,7 @@ If the IMAGE is not already loaded then **podman run** will pull the IMAGE, and
all image dependencies, from the repository in the same way running **podman all image dependencies, from the repository in the same way running **podman
pull** IMAGE, before it starts the container from that image. pull** IMAGE, before it starts the container from that image.
# OPTIONS ## OPTIONS
**--add-host**=[] **--add-host**=[]
Add a custom host-to-IP mapping (host:ip) Add a custom host-to-IP mapping (host:ip)
@ -598,9 +600,9 @@ the exit codes follow the `chroot` standard, see below:
$ podman run busybox /bin/sh -c 'exit 3' $ podman run busybox /bin/sh -c 'exit 3'
# 3 # 3
# EXAMPLES ## EXAMPLES
## Running container in read-only mode ### Running container in read-only mode
During container image development, containers often need to write to the image During container image development, containers often need to write to the image
content. Installing packages into /usr, for example. In production, content. Installing packages into /usr, for example. In production,
@ -613,7 +615,7 @@ tmpfs directories on /run and /tmp.
# podman run --read-only --tmpfs /run --tmpfs /tmp -i -t fedora /bin/bash # podman run --read-only --tmpfs /run --tmpfs /tmp -i -t fedora /bin/bash
## Exposing log messages from the container to the host's log ### Exposing log messages from the container to the host's log
If you want messages that are logged in your container to show up in the host's If you want messages that are logged in your container to show up in the host's
syslog/journal then you should bind mount the /dev/log directory as follows. syslog/journal then you should bind mount the /dev/log directory as follows.
@ -632,7 +634,7 @@ Then exit and check the journal.
This should list the message sent to logger. This should list the message sent to logger.
## Attaching to one or more from STDIN, STDOUT, STDERR ### Attaching to one or more from STDIN, STDOUT, STDERR
If you do not specify -a then podman will attach everything (stdin,stdout,stderr) If you do not specify -a then podman will attach everything (stdin,stdout,stderr)
. You can specify to which of the three standard streams (stdin, stdout, stderr) . You can specify to which of the three standard streams (stdin, stdout, stderr)
@ -705,7 +707,7 @@ Create a 3rd container using the new --ipc=container:CONTAINERID option, now it
0x0000162e 0 root 666 27 1 0x0000162e 0 root 666 27 1
``` ```
## Mapping Ports for External Usage ### Mapping Ports for External Usage
The exposed port of an application can be mapped to a host port using the **-p** The exposed port of an application can be mapped to a host port using the **-p**
flag. For example, an httpd port 80 can be mapped to the host port 8080 using the flag. For example, an httpd port 80 can be mapped to the host port 8080 using the
@ -713,7 +715,7 @@ following:
# podman run -p 8080:80 -d -i -t fedora/httpd # podman run -p 8080:80 -d -i -t fedora/httpd
## Mounting External Volumes ### Mounting External Volumes
To mount a host directory as a container volume, specify the absolute path to To mount a host directory as a container volume, specify the absolute path to
the directory and the absolute path for the container directory separated by a the directory and the absolute path for the container directory separated by a
@ -737,7 +739,7 @@ to the host directory:
Now, writing to the /data1 volume in the container will be allowed and the Now, writing to the /data1 volume in the container will be allowed and the
changes will also be reflected on the host in /var/db. changes will also be reflected on the host in /var/db.
## Using alternative security labeling ### Using alternative security labeling
You can override the default labeling scheme for each container by specifying You can override the default labeling scheme for each container by specifying
the `--security-opt` flag. For example, you can specify the MCS/MLS level, a the `--security-opt` flag. For example, you can specify the MCS/MLS level, a
@ -766,7 +768,7 @@ Note:
You would have to write policy defining a `svirt_apache_t` type. You would have to write policy defining a `svirt_apache_t` type.
## Setting device weight ### Setting device weight
If you want to set `/dev/sda` device weight to `200`, you can specify the device If you want to set `/dev/sda` device weight to `200`, you can specify the device
weight by `--blkio-weight-device` flag. Use the following command: weight by `--blkio-weight-device` flag. Use the following command:
@ -777,7 +779,7 @@ weight by `--blkio-weight-device` flag. Use the following command:
$ podman run -d busybox top $ podman run -d busybox top
``` ```
## Setting Namespaced Kernel Parameters (Sysctls) ### Setting Namespaced Kernel Parameters (Sysctls)
The `--sysctl` sets namespaced kernel parameters (sysctls) in the The `--sysctl` sets namespaced kernel parameters (sysctls) in the
container. For example, to turn on IP forwarding in the containers container. For example, to turn on IP forwarding in the containers
@ -794,7 +796,7 @@ evolves we expect to see more sysctls become namespaced.
See the definition of the `--sysctl` option above for the current list of See the definition of the `--sysctl` option above for the current list of
supported sysctls. supported sysctls.
# HISTORY ## HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com) April 2014, Originally compiled by William Henry (whenry at redhat dot com)
based on docker.com source material and internal work. based on docker.com source material and internal work.
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>

View File

@ -3,7 +3,7 @@
# podman-save "1" "July 2017" "podman" # podman-save "1" "July 2017" "podman"
## NAME ## NAME
podman-save - Save an image to docker-archive or oci-archive podman save - Save an image to docker-archive or oci-archive
## SYNOPSIS ## SYNOPSIS
**podman save** **podman save**

View File

@ -3,7 +3,7 @@
# podman-stats "1" "July 2017" "podman" # podman-stats "1" "July 2017" "podman"
## NAME ## NAME
podman-stats - Display a live stream of 1 or more containers' resource usage statistics podman stats - Display a live stream of 1 or more containers' resource usage statistics
## SYNOPSIS ## SYNOPSIS
**podman** **stats** [*options* [...]] [container] **podman** **stats** [*options* [...]] [container]

View File

@ -3,7 +3,7 @@
# podman-version "1" "July 2017" "podman" # podman-version "1" "July 2017" "podman"
## NAME ## NAME
podman-version - Display the PODMAN Version Information podman version - Display the PODMAN Version Information
## SYNOPSIS ## SYNOPSIS
**podman version** **podman version**

View File

@ -55,6 +55,9 @@ has the capability to debug pods/images created by crio.
### attach ### attach
Attach to a running container Attach to a running container
### commit
Create new image based on the changed container
### create ### create
create a new container create a new container
@ -109,9 +112,6 @@ Pull an image from a registry
### push ### push
Push an image from local storage to elsewhere Push an image from local storage to elsewhere
### rename
Rename a container
### rm ### rm
Remove one or more containers Remove one or more containers

View File

@ -23,29 +23,31 @@ For many troubleshooting and information collection steps, there may be an exist
Following provides equivalent with PODMAN tools for gathering information or jumping into containers, for operational use. Following provides equivalent with PODMAN tools for gathering information or jumping into containers, for operational use.
| Existing Step | PODMAN (and friends) | | Existing Step | PODMAN (and friends) |
| :---: | :---: | | :--- | :--- |
| `docker run` | [`podman run`](./docs/podman-run.1.md) |
| `docker exec` | [`podman exec`](./docs/podman-exec.1.md) | | `docker exec` | [`podman exec`](./docs/podman-exec.1.md) |
| `docker info` | [`podman info`](./docs/podman-info.1.md) | | `docker info` | [`podman info`](./docs/podman-info.1.md) |
| `docker inspect` | [`podman inspect`](./docs/podman-inspect.1.md) | | `docker inspect` | [`podman inspect`](./docs/podman-inspect.1.md) |
| `docker logs` | [`podman logs`](./docs/podman-logs.1.md) | | `docker logs` | [`podman logs`](./docs/podman-logs.1.md) |
| `docker ps` | [`podman ps`](./docs/podman-ps.1.md) | | `docker ps` | [`podman ps`](./docs/podman-ps.1.md) |
| `docker stats` | [`podman stats`](./docs/podman-stats.1.md)| | `docker stats`| [`podman stats`](./docs/podman-stats.1.md)|
## Development Transfer ## Development Transfer
There are other equivalents for these tools There are other equivalents for these tools
| Existing Step | PODMAN (and friends) | | Existing Step | PODMAN (and friends) |
| :---: | :---: | | :--- | :--- |
| `docker attach` | [`podman exec`](./docs/podman-attach.1.md) ***| | `docker attach` | [`podman exec`](./docs/podman-attach.1.md)|
| `docker build` | [`buildah bud`](https://github.com/projectatomic/buildah/blob/master/docs/buildah-bud.md) | | `docker build` | [`buildah bud`](https://github.com/projectatomic/buildah/blob/master/docs/buildah-bud.md) |
| `docker commit` | [`buildah commit`](https://github.com/projectatomic/buildah/blob/master/docs/buildah-commit.md) | | `docker commit` | [`podman commit`](./docs/podman-commit.1.md)|
| `docker cp` | [`podman mount`](./docs/podman-cp.1.md) **** | | `docker cp` | [`podman mount`](./docs/podman-cp.1.md) **** |
| `docker create` | [`podman create`](./docs/podman-create.1.md) | | `docker create` | [`podman create`](./docs/podman-create.1.md) |
| `docker diff` | [`podman diff`](./docs/podman-diff.1.md) | | `docker diff` | [`podman diff`](./docs/podman-diff.1.md) |
| `docker export` | [`podman export`](./docs/podman-export.1.md) | | `docker export` | [`podman export`](./docs/podman-export.1.md) |
| `docker history`| [`podman history`](./docs/podman-history.1.md)| | `docker history`| [`podman history`](./docs/podman-history.1.md)|
| `docker images` | [`podman images`](./docs/podman-images.1.md) | | `docker images` | [`podman images`](./docs/podman-images.1.md) |
| `docker import` | [`podman import`](./docs/podman-import.1.md) |
| `docker kill` | [`podman kill`](./docs/podman-kill.1.md) | | `docker kill` | [`podman kill`](./docs/podman-kill.1.md) |
| `docker load` | [`podman load`](./docs/podman-load.1.md) | | `docker load` | [`podman load`](./docs/podman-load.1.md) |
| `docker login` | [`podman login`](./docs/podman-login.1.md) | | `docker login` | [`podman login`](./docs/podman-login.1.md) |
@ -58,36 +60,38 @@ There are other equivalents for these tools
| `docker rmi` | [`podman rmi`](./docs/podman-rmi.1.md) | | `docker rmi` | [`podman rmi`](./docs/podman-rmi.1.md) |
| `docker run` | [`podman run`](./docs/podman-run.1.md) | | `docker run` | [`podman run`](./docs/podman-run.1.md) |
| `docker save` | [`podman save`](./docs/podman-save.1.md) | | `docker save` | [`podman save`](./docs/podman-save.1.md) |
| `docker start` | [`podman start`](./docs/podman-start.1.md) |
| `docker stop` | [`podman stop`](./docs/podman-stop.1.md) | | `docker stop` | [`podman stop`](./docs/podman-stop.1.md) |
| `docker tag` | [`podman tag`](./docs/podman-tag.1.md) | | `docker tag` | [`podman tag`](./docs/podman-tag.1.md) |
| `docker top` | [`podman top`](./docs/podman-top.1.md) |
| `docker unpause`| [`podman unpause`](./docs/podman-unpause.1.md)| | `docker unpause`| [`podman unpause`](./docs/podman-unpause.1.md)|
| `docker version`| [`podman version`](./docs/podman-version.1.md)| | `docker version`| [`podman version`](./docs/podman-version.1.md)|
| `docker wait` | [`podman wait`](./docs/podman-wait.1.md) | | `docker wait` | [`podman wait`](./docs/podman-wait.1.md) |
*** 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`](./docs/podman-cp.1.md) for more information. **** Use mount to take advantage of the entire linux tool chain rather then just cp. Read [`here`](./docs/podman-cp.1.md) for more information.
## Missing commands in podman ## Missing commands in podman
Those Docker commands currently do not have equivalents in `podman`: Those Docker commands currently do not have equivalents in `podman`:
* `docker container` | Missing command | Description|
* `docker events` | :--- | :--- |
* `docker image` | `docker container`||
* `docker network` | `docker events` ||
* `docker node` | `docker image` ||
* `docker plugin` | `docker network` ||
* `docker port` | `docker node` ||
* `docker rename` | `docker plugin` |podman does not support plugins. We recommend you use alternative OCI Runtimes or OCI Runtime Hooks to alter behaviour of podman.|
* `docker restart` | `docker port` ||
* `docker search` | `docker rename` | podman does not support rename, you need to use `podman rm` and `podman create` to rename a container.|
* `docker secret` | `docker restart` | podman does not support restart. We recommend that you put your podman containers into a systemd unit file and use it for restarting applications.|
* `docker service` | `docker search` ||
* `docker stack` | `docker secret` ||
* `docker swarm` | `docker service` ||
* `docker system` | `docker stack` ||
* `docker top` | `docker swarm` | podman does not support swarm. We support Kubernetes for orchestration using [CRI-O](https://github.com/kubernetes-incubator/cri-o).|
* `docker volume` | `docker system` ||
| `docker volume` | podman does not support volumes. Volumes should be built on the host operating system and then volume mounted into the containers.|
## Missing commands in Docker ## Missing commands in Docker