[ 
https://issues.apache.org/jira/browse/ARTEMIS-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642470#comment-17642470
 ] 

Gary Tully commented on ARTEMIS-3042:
-------------------------------------

[~inad9300] thanks!. podman and docker are interchangeable, the project creates 
an OCI image.tar that can be published or loaded into a registry. In the 
README.md for comprehension -  s/podman/docker/
why a java main line?
 - for simplicity - the intent is to present the broker as a java app and 
expose that, so that the JVM is visible and configurable etc. artemis run and 
the distro scripts are focused on bare metal where it has to coexist and be 
update-able etc... none of that is relevant for an immutable image. In 
addition, as the JVM becomes more container aware w.r.t to container limits, 
less and less of the bare metal defaults make sense.

The main wraps the current embedded broker (which is well proven and tested) 
and waits for it to exit (like ArtemisRun). 
I think there is a case to be made for a single entry point, and maybe I can 
replace the Main with the ArtemisRun wrapper, or extract out the relevant bits 
and reuse, but I don't want to expose any unnecessary options, just the 
necessary ones.

I also want properties to be the mechanism for customisation. ie a broker is a 
Broker 'bean' and a few property files that tweak the defaults. A derived 
broker adds some more custom.properties and that is it.

> Official Docker Multistage Build as well as an official Docker image.
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-3042
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3042
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: John Behm
>            Priority: Minor
>              Labels: docker,, dockerfile,, kubernetes
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It would be rather convenient to get people up and running with an easy to 
> build or to setup Docker image that automatically builds the project from 
> source, discards the build container and moves the necessary files over to 
> the final container that can simply be started.
> The current docker image build is not really user firendly or convenient at 
> all.
>  
> https://github.com/apache/activemq-artemis/tree/master/artemis-docker
> The whole setup process of artemis in a containerized environment is  very 
> far from even good.
> The hurdle of using this software is gigantic, as the configuration is so 
> complex, one will not be able to do this within one month without having gone 
> through the whole documentation multiple times.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to