From e0abd12016d7074af808c20944c9137f90252255 Mon Sep 17 00:00:00 2001 From: Roland Sommer Date: Mon, 28 Sep 2020 12:58:41 +0200 Subject: Add section about current differences There are some differences in behaviour between docker and podman which should be documented to help developers while transitioning. Signed-off-by: Roland Sommer --- transfer.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'transfer.md') diff --git a/transfer.md b/transfer.md index 49ff687e6..ae786d079 100644 --- a/transfer.md +++ b/transfer.md @@ -89,6 +89,14 @@ There are other equivalents for these tools **** 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. +## Behavioural differences and pitfalls + +These commands behave different from Docker: + +| Command | Description | +| :--- | :--- | +| `podman volume create` | While `docker volume create` is idempotent, `podman volume create` raises an error if the volume does already exist. See this [docker issue](https://github.com/moby/moby/issues/16068) on that.| + ## Missing commands in podman Those Docker commands currently do not have equivalents in `podman`: -- cgit v1.2.3-54-g00ecf From 72d316bee239fdc1d74377df3c3152dcb45716e1 Mon Sep 17 00:00:00 2001 From: Roland Sommer Date: Mon, 28 Sep 2020 17:16:09 +0200 Subject: Apply suggestions from code review Co-authored-by: Tom Sweeney Signed-off-by: Roland Sommer --- transfer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'transfer.md') diff --git a/transfer.md b/transfer.md index ae786d079..8ead43f63 100644 --- a/transfer.md +++ b/transfer.md @@ -91,11 +91,11 @@ There are other equivalents for these tools ## Behavioural differences and pitfalls -These commands behave different from Docker: +These commands behave differently from the commands in Docker: | Command | Description | | :--- | :--- | -| `podman volume create` | While `docker volume create` is idempotent, `podman volume create` raises an error if the volume does already exist. See this [docker issue](https://github.com/moby/moby/issues/16068) on that.| +| `podman volume create` | While `docker volume create` is idempotent, `podman volume create` raises an error if the volume does already exist. See this [docker issue](https://github.com/moby/moby/issues/16068) for more information.| ## Missing commands in podman -- cgit v1.2.3-54-g00ecf