Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman actually did add docker-compose support recently #11

Open
elreydetoda opened this issue Mar 27, 2021 · 2 comments
Open

podman actually did add docker-compose support recently #11

elreydetoda opened this issue Mar 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@elreydetoda
Copy link

Hello! 🙂

First off, awesome blog! 😁 Whenever I get more time I will probably want to setup a similar arrangement. I also love that you write in asciidoc! You are one of the first people that I have seen writing in asciidoc/docter for their blog posts, I don't get to very much anymore but I want to write in it more 😁 . So, it is awesome to know that jekyll supports asciidoc 😁

I just wanted to let you know, with reference to this post, that podman actually has added docker-compose support in their "development" release ( 3.0 ) which is available on Fedora 33. The only reason why I know that is I am getting ready to write an article on my blog about me migrating my blog using podman with docker-compose files. There are still some quirks w/SELinux and volume mounts, but if you are alright with not having that for now or giving the proper access for SELinux ( I don't have that knowledge ) then it does work 🙂

Keep up the awesome content and I just added your blog to my RSS reader, so I look forward to seeing more 😁

@jwillikers
Copy link
Owner

jwillikers commented Mar 27, 2021

Thanks for the great feedback!
You're the first person to give me any sort of feedback, so I'm rather excited. 🥳
I'm glad that you've found that content helpful.
The Asciidoctor project has a bit of direct support for Jekyll, it being written in Ruby, and they provide a plugin.
I'm really not a web developer, though, but managed to hack it together.
Hugo works pretty well with Asciidoctor, too, fyi, and is a bit simpler.
I love the advanced formatting features and how easy it is to generate PDF's from Asciidoctor.

You're totally right about the built-in Docker Compose support in version 3.0 and the fact I left out SELinux.
When I was working on that conversion, I misread Red Hat's blog post about this and thought the Docker Daemon had to be running for some reason.
Anyways, I'll definitely update my post to reflect this feature and that will simplify things a bit.
As for SELinux, since I was doing this on Ubuntu without SELinux enabled, I didn't have to worry about that.
It's funny you should mention that, because I just got a thick book on SELinux to learn more about it.
It's definitely worth mentioning in my posts, but I think I need to understand it just a little bit more before I can figure out how to explain what's happening.

I hope you can get those volume mounts working.
You might have luck by using the :z mount option, i.e. something like /mnt:/mnt:z I think.

I look forward to your blog post and I'll check that out.
It'd be great to link to it as a reference for readers.

Out of curiosity, are you planning on converting your Docker Compose files to the Kubernetes format?

@jwillikers jwillikers added the bug Something isn't working label Mar 27, 2021
@jwillikers jwillikers self-assigned this Mar 27, 2021
@elreydetoda
Copy link
Author

No problem! Glad I can let someone else know how good their content is 😁
Ya, I had one of my friends comment on one of my blog posts, and I was super excited to know that some one had read my post 😁

The Asciidoctor project has a bit of direct support for Jekyll, it being written in Ruby, and they provide a plugin.
Hugo works pretty well with Asciidoctor, too, fyi, and is a bit simpler.

This is awesome! I am so glad to know that. Hugo was actually someone I had been toying around with recently, so that is awesome to know 😁 I will definitely check that out 🙂

You're totally right about the built-in Docker Compose support in version 3.0 and the fact I left out SELinux.
When I was working on that conversion, I misread Red Hat's blog post about this and thought the Docker Daemon had to be running for some reason.

Ya, that could definitely be misleading, since they mention the docker.socket ( which for others who haven't read the article is just a symlink ( IIRC ) to the podman.socket ).

Anyways, I'll definitely update my post to reflect this feature and that will simplify things a bit.

very cool, glad I could contribute 😁

SELinux

ya, that is what I had figured since you linked to the podman install on ubuntu in some of your posts. It was my first time using Fedora in a serious fashion, and the SELinux thing (while a pain sometimes) was easier to at least identify it was preventing me when I figured out about ausearch ( can't remember exactly where I read it at ) 😅 . Also, that looks like an interesting book! If you end up reading it let me know it was 🙂, I like to think someday I will get around to reading all the tech books I want to 😅

I hope you can get those volume mounts working.
You might have luck by using the :z mount option, i.e. something like /mnt:/mnt:z I think.

I actually misspoke 😓 , it wasn't an issue with volume mounts but with bind mounts in my user's home directory. The way I got around it was just using a volume mount instead though, and that worked 🙂 . So, while I don't have the ease of just cp'ing something into my home user's directory I can still run podman cp to copy stuff into it. I will definitely check out the :z option though, whenever I get a chance ( sounds promising 🙂 ).

I look forward to your blog post and I'll check that out.
It'd be great to link to it as a reference for readers.

Definitely! I will post the link back to it here when I finish it 🙂

Out of curiosity, are you planning on converting your Docker Compose files to the Kubernetes format?

So, actually no lol. I was going to mention this in the comment before, but forgot. I found your blog because of this post, and then I saw the k8s post linked in the original auto update podman post and the article sounded intriguing to me 😁 .

I also love that you link to different articles you use/people can get more info at!

i.e. https://www.jwillikers.com/translate-docker-compose-to-kubernetes-with-podman.html#see_also & https://www.jwillikers.com/automatically-update-podman-containers#see_also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants