Getting Docker Discourse running with Podman
People, I can run the discourse image with docker, export the container and import it as an image into podman. The script that manages docker discourse containers is: /var/discourse/launcher and is attached. It would be good if it were possible to just replace all the occurrences of "docker" with "podman", fix version numbers etc and be able to use the script - but can any gurus see dockerisms in the script that will cause podman gotchas for this idea? Thanks, Phil. -- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
On 5/17/20 23:55, Philip Rhoades wrote:
People,
I can run the discourse image with docker, export the container and import it as an image into podman.
The script that manages docker discourse containers is:
/var/discourse/launcher
and is attached. It would be good if it were possible to just replace all the occurrences of "docker" with "podman", fix version numbers etc and be able to use the script - but can any gurus see dockerisms in the script that will cause podman gotchas for this idea?
Thanks,
Phil.
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
Just a quick look, it looks like it is checking specific version of docker. ``` docker_min_version='17.03.1' docker_rec_version='17.06.2' # 3. running recommended docker version test=($($docker_path --version)) # Get docker version string test=${test[2]//,/} # Get version alone and strip comma if exists # At least minimum docker version if compare_version "${docker_min_version}" "${test}"; then echo "ERROR: Docker version ${test} not supported, please upgrade to at least ${docker_min_version}, or recommended ${docker_rec_version}" exit 1 fi ``` It is checking out that the Docker daemon is running. Issues with Docker networking. The handling of docker_ip will not work. But looking at this, I think it would be fairly easy to hack up most of it.
Phil, I took a quick look and immediately realized that file is huge :-) Also, the strict version checking worried me. I would recommend doing the find/replace and seeing what breaks. Sadly, it's just too hard to tell with a quick look. Best Regards Scott M On Sun, May 17, 2020 at 11:58 PM Philip Rhoades <phil@pricom.com.au> wrote:
People,
I can run the discourse image with docker, export the container and import it as an image into podman.
The script that manages docker discourse containers is:
/var/discourse/launcher
and is attached. It would be good if it were possible to just replace all the occurrences of "docker" with "podman", fix version numbers etc and be able to use the script - but can any gurus see dockerisms in the script that will cause podman gotchas for this idea?
Thanks,
Phil.
-- Philip Rhoades
PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
-- -- Moving Wordpress, Mediawiki and Request Tracker into containers: http://crunchtools.com/a-hackers-guide-to-moving-linux-services-into-contain... -- Scott McCarty Product Management - Containers, Red Hat Enterprise Linux & OpenShift Email: smccarty@redhat.com Phone: 312-660-3535 Cell: 330-807-1043 Web: http://crunchtools.com Using Azure Pipelines with Red Hat Universal Base Image and Quay.io: https://red.ht/2TvYo3Y
People, After quite a while and with some help from @fitzy on Discourse Meta forum, I finally have a working version of Fedora-Podman-Discourse! There is still some work to do on the site - the obvious thing being to get the Discourse mail facility talking to my IndiMail (QMail) Podman container . . so if you are motivated to sign up, please wait till I get that going at least . . Anyway, here is what it looks like so far: https://forum.philiprhoades.org/ Any feedback appreciated! Regards, Phil. On 2020-05-18 13:55, Philip Rhoades wrote:
People,
I can run the discourse image with docker, export the container and import it as an image into podman.
The script that manages docker discourse containers is:
/var/discourse/launcher
and is attached. It would be good if it were possible to just replace all the occurrences of "docker" with "podman", fix version numbers etc and be able to use the script - but can any gurus see dockerisms in the script that will cause podman gotchas for this idea?
Thanks,
Phil.
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
-- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
People, I also should have added that anyone who wants to clone the Docker and README files can get them here: git@gitlab.com:philip_rhoades/fpsd.git P. On 2021-01-10 18:32, Philip Rhoades via Podman wrote:
People,
After quite a while and with some help from @fitzy on Discourse Meta forum, I finally have a working version of Fedora-Podman-Discourse!
There is still some work to do on the site - the obvious thing being to get the Discourse mail facility talking to my IndiMail (QMail) Podman container . . so if you are motivated to sign up, please wait till I get that going at least . .
Anyway, here is what it looks like so far:
https://forum.philiprhoades.org/
Any feedback appreciated!
Regards,
Phil.
On 2020-05-18 13:55, Philip Rhoades wrote:
People,
I can run the discourse image with docker, export the container and import it as an image into podman.
The script that manages docker discourse containers is:
/var/discourse/launcher
and is attached. It would be good if it were possible to just replace all the occurrences of "docker" with "podman", fix version numbers etc and be able to use the script - but can any gurus see dockerisms in the script that will cause podman gotchas for this idea?
Thanks,
Phil.
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
-- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
participants (3)
-
Daniel Walsh -
Philip Rhoades -
Scott McCarty