You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/05/10 08:34:28 UTC

[camel] branch main updated: Docker container for camel-jbang docs

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2ca1d6b4492 Docker container for camel-jbang docs
2ca1d6b4492 is described below

commit 2ca1d6b4492ba0e01fa09aae04bf568f1bbdb335
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 10 10:34:05 2023 +0200

    Docker container for camel-jbang docs
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../modules/ROOT/pages/camel-jbang.adoc            | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 2b8f2ad9950..2cbbc9deb23 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -26,6 +26,36 @@ jbang app install camel@apache/camel
 This will install Apache Camel as the `camel` command within JBang, meaning that you can run Camel from the command line
 by just executing `camel` (see more next).
 
+== Container Image
+
+There is also a container image availabe in https://hub.docker.com/r/apache/camel-jbang/[Dockerhub]
+
+[source,bash]
+----
+docker pull apache/camel-jbang:3.20.4
+----
+
+Once you have the image in your local registry you can run all the command listed below by simple doing:
+
+[source,bash]
+----
+docker run apache/camel-jbang:3.20.4 version
+----
+
+This will print the following result:
+
+[source,bash]
+----
+Camel JBang version: 3.20.4
+----
+
+So running a simple route will be as easy as doing the following:
+
+[source,bash]
+----
+docker run apache/camel-jbang:3.20.4 run example.yaml
+----
+
 == Using Camel JBang
 
 The Camel JBang supports multiple commands. Running the command below, will print all of them: