# 安裝 Podman on Ubuntu ## ENV - OS Ubuntu 22.04.2 LTS (headless) - Podman v3.4.4 --- ## 安裝 Podman Reference: - https://podman.io/docs/installation Github: - https://github.com/containers/podman --- ## 安裝 Python3 ```bash sudo apt-get install python3-pip ``` --- ## 使用 pip3 安裝 Podman Compose Reference: - https://github.com/containers/podman-compose ```bash sudo pip3 install podman-compose ``` --- ## 讓 Podman 以原生方式使用 Docker 命令 Reference: - https://docs.oracle.com/zh-tw/learn/podman-compose/index.html#setup-podman-to-work-with-compose-files ```bash sudo apt-get install -y podman-docker ``` --- ## 配置 Podman registry from Docker.io ```bash sudo vim /etc/containers/registries.conf ``` #### registries.conf Settings ```bash # Registry from docker.io [[registry]] prefix="[docker.io](<http://docker.io/>)" location="internal.registry.mirror/docker" :wq! ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up