MAC OS 使用 PodMan
一、安装 podman
1.1、brew 方式安装
brew install podman
1.2、官方安装
选择下 Podman CLI for macOS 即可没必要下载 gui
二、相关错误
akiraka@iMac-Pro:~$ podman ps
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:51701: connect: connection refused
# 解决方法
akiraka@iMac-Pro:~$ podman machine start
Starting machine "podman-machine-default"
This machine is currently configured in rootless mode. If your containers
require root permissions (e.g. ports < 1024), or if you run into compatibility
issues with non-podman clients, you can switch using the following command:
podman machine set --rootful
API forwarding listening on: /var/run/docker.sock
Docker API clients default to this address. You do not need to set DOCKER_HOST.
Machine "podman-machine-default" started successfully
akiraka@iMac-Pro:~$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
版权声明:
作者:Akiraka
链接:https://www.akiraka.net/mac_os/1554.html
来源:Akiraka
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
海报
MAC OS 使用 PodMan
一、安装 podman
1.1、brew 方式安装
brew install podman
1.2、官方安装
https://podman.io/
选择下 Podman CLI for macOS 即可没必要下载 gui
二、相关错……
文章目录
关闭
共有 0 条评论