From d4e0dfdb3ce46cb96d3b5b27d001fe9033d047de Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 14 May 2024 14:11:50 +0200 Subject: [PATCH] website: migration: Fix 2 macOS issues (#7205) * website: migrating: Use /bin/sh instead of /usr/bin/sh On macOS, only /bin/sh exists. Signed-off-by: Christophe Fergeau * website: migration: Fix CONTAINER_HOST value This needs an unix:// URI scheme, this is documented in https://docs.podman.io/en/latest/markdown/podman-remote.1.html#url-value Signed-off-by: Christophe Fergeau --------- Signed-off-by: Christophe Fergeau --- .../migrating-from-docker/emulating-docker-cli-with-podman.md | 2 +- .../verifying-your-tools-are-using-podman.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/migrating-from-docker/emulating-docker-cli-with-podman.md b/website/docs/migrating-from-docker/emulating-docker-cli-with-podman.md index 91e5cbbabf1..2ef19516792 100644 --- a/website/docs/migrating-from-docker/emulating-docker-cli-with-podman.md +++ b/website/docs/migrating-from-docker/emulating-docker-cli-with-podman.md @@ -25,7 +25,7 @@ Consider emulating Docker CLI with Podman to migrate transparently to Podman. 1. Create a `/usr/local/bin/docker` script: ```shell - #!/usr/bin/sh + #!/bin/sh [ -e /etc/containers/nodocker ] || \ echo "Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg." >&2 exec podman "$@" diff --git a/website/docs/migrating-from-docker/verifying-your-tools-are-using-podman.md b/website/docs/migrating-from-docker/verifying-your-tools-are-using-podman.md index 69dabe87bbb..e8f2543f5c9 100644 --- a/website/docs/migrating-from-docker/verifying-your-tools-are-using-podman.md +++ b/website/docs/migrating-from-docker/verifying-your-tools-are-using-podman.md @@ -62,14 +62,14 @@ When you have configured your host to use Podman rather then Docker, consider ve ```shell-session - $ CONTAINER_HOST=/var/run/docker.sock podman ps + $ CONTAINER_HOST=unix:///var/run/docker.sock podman ps ``` ```shell-session - $ CONTAINER_HOST=/var/run/docker.sock podman ps + $ CONTAINER_HOST=unix:///var/run/docker.sock podman ps ```