macOS Container Machines
github.com原文 ↗
Apple `container machine` 把容器从“单应用进程”改成“持久 Linux 环境”:它运行镜像里的 init system,可以 `systemctl start postgresql`,并把 Mac 用户和 home 目录映射进 Linux。文档示例用 `container machine create alpine:latest --name dev` 创建环境,`container machine run` 进入 shell;默认内存是 host memory 的一半,home mount 可设为 `rw`、`ro` 或 `none`。
–浏览
评论 · Comments