有任何“ Podman撰写”吗? [英] There is any "Podman Compose"?

查看:131
本文介绍了有任何“ Podman撰写”吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近发现了有关Podman的信息( https://podman.io )。有一种方法可以使用Linux fork进程而不是Daemon,而不必使用root运行。

I recently found out about Podman (https://podman.io). Having a way to use Linux fork processes instead of a Daemon and not having to run using root just got my attention.

但是我非常习惯于协调正在运行的容器在我的机器上(在生产中我们使用kubernetes)使用docker-compose。我真的很喜欢。

But I'm very used to orchestrate the containers running on my machine (in production we use kubernetes) using docker-compose. And I truly like it.

所以我试图替换docker-compose。我将尝试保持docker-compose并使用podman作为docker的别名,因为Podman使用与docker相同的语法:

So I'm trying to replace docker-compose. I will try to keep docker-compose and using podman as an alias to docker as Podman uses the same syntax as docker:


alias docker = podman

alias docker=podman

它将起作用吗?您能建议其他工具吗?我真的打算尽可能保留我的docker-compose.yml文件。

Will it work? Can you suggest any other tool? I really intend to keep my docker-compose.yml file, if possible.

推荐答案

是的,现在可以了,检查<一个href = https://github.com/muayyad-alsadi/podman-compose rel = noreferrer> podman-compose ,这是一种实现方式,另一种方式是转换docker-使用 Kompose 将yaml文件组合到kubernetes部署中。从JérômePetazzoni @jpetazzo上有一篇博客文章:来自docker-compose进行kubernetes部署

Yes, that is doable now, check podman-compose, this is one way of doing it, another way is to convert the docker-compose yaml file to a kubernetes deployment using Kompose. there is a blog post from Jérôme Petazzoni @jpetazzo: from docker-compose to kubernetes deployment

这篇关于有任何“ Podman撰写”吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆