https://futureofcoding.org/ logo
#devlog-together
Title
# devlog-together
j

Jason Morris

06/27/2023, 5:21 PM
The people using my software as a back-end for their web project are running machines that are not allowed to use docker, but are allowed to use "podman". Podman does not implement the feature of docker-compose.yml files that allows you to build an image from a github repository. So this week I need to learn how to publish docker images of my alpha software that nearly no one uses. Having users is the best/worst.
c

Chris G

06/27/2023, 5:32 PM
Do users need to build the image? Or can you use whatever you like to build the image, so long as it can be consumed by non-docker clients (like podman or colima)?
j

Jason Morris

06/27/2023, 5:33 PM
I think the only requirement is that non-docker clients can run it.
c

Chris G

06/27/2023, 6:12 PM
Cool, then you could continue to use docker-compose yourself to build the image? And then publish it to docker hub or wherever – Or do you need users to run docker-compose to also run the image/orchestration?
j

Jason Morris

06/27/2023, 6:19 PM
The project uses a docker-compose.yml file. My own code is a single service loaded in that project. So I just need to build and publish an image for my container, using whatever I want, as long as it's published in such a way that podman can find and run it when reading the docker-compose file. The only point is to replace
build:
with
image
in the docker-compose.yml to be implementation independent.
there is nothing remotely complicated about it. I'm just moaning about needing to learn something new.
c

Chris G

06/27/2023, 6:21 PM
We're here for you man