mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-23 09:48:59 +00:00
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 <cfergeau@redhat.com> * 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 <cfergeau@redhat.com> --------- Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
cfeb275467
commit
d4e0dfdb3c
2 changed files with 3 additions and 3 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
|
|
@ -62,14 +62,14 @@ When you have configured your host to use Podman rather then Docker, consider ve
|
|||
<TabItem value="mac" label="macOS">
|
||||
|
||||
```shell-session
|
||||
$ CONTAINER_HOST=/var/run/docker.sock podman ps
|
||||
$ CONTAINER_HOST=unix:///var/run/docker.sock podman ps
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="linux" label="Linux">
|
||||
|
||||
```shell-session
|
||||
$ CONTAINER_HOST=/var/run/docker.sock podman ps
|
||||
$ CONTAINER_HOST=unix:///var/run/docker.sock podman ps
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
|
|||
Loading…
Reference in a new issue