|
@@ -2,26 +2,32 @@
|
|
|
|
|
|
|
|
## 操作系统准备
|
|
## 操作系统准备
|
|
|
|
|
|
|
|
-### 在 Windows 上安装 ubuntu **仅 Windows 10+ 用户**
|
|
|
|
|
|
|
+### For MacOS
|
|
|
|
|
+
|
|
|
|
|
+- [安装 Homebrew](https://brew.sh/)
|
|
|
|
|
+- 安装 Podman
|
|
|
|
|
+
|
|
|
|
|
+ ```bash
|
|
|
|
|
+ brew install qemu
|
|
|
|
|
+ brew install podman
|
|
|
|
|
+ podman machine init # init the FIRST PODMAN MACHINE
|
|
|
|
|
+ ```
|
|
|
|
|
+
|
|
|
|
|
+- 启动 Podman `podman machine start`
|
|
|
|
|
+
|
|
|
|
|
+### For Windows 10+
|
|
|
|
|
|
|
|
- 先决条件
|
|
- 先决条件
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|
-- 安装 wsl
|
|
|
|
|
|
|
+- 安装 WSL
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|
-- 从[Windows Store](https://apps.microsoft.com/store/detail/ubuntu/9PDXGNCFSCZV)安装 ubuntu(版本不小于 22.04)
|
|
|
|
|
-
|
|
|
|
|
-### 安装容器工具 `sudo apt install crun podman buildah`
|
|
|
|
|
-
|
|
|
|
|
-- 切换至镜像文件路径
|
|
|
|
|
|
|
+- 从[Windows Store](https://apps.microsoft.com/store/detail/ubuntu/9PDXGNCFSCZV)安装 ubuntu(版本不小于 **22.04**)
|
|
|
|
|
|
|
|
- ```bash
|
|
|
|
|
- cd ~/tmp # for *nix, 镜像文件在 $HOME/tmp
|
|
|
|
|
- cd /mnt/d/downloads # for windows, 镜像文件在 d:\downloads
|
|
|
|
|
- ```
|
|
|
|
|
|
|
+## Ubuntu 内安装容器工具包 `sudo apt install crun podman buildah`
|
|
|
|
|
|
|
|
## 镜像准备
|
|
## 镜像准备
|
|
|
|
|
|