Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So if we go to http://magnoliaauthor-default.139.162.131.60.nip.io/magnoliaauthor, we should see Magnolia 5.6 running on WildFly.

using Docker

...

You could use something from Docker Hub, or from a local Docker image, like so:

Expand
Code Block
[root@localhost ~]# oc new-app magnolia-1 --name magnoliax
W0419 07:05:16.233491   28843 newapp.go:480] Could not find an image stream match for "magnolia-1:latest". Make sure that a Docker image with that tag is available on the node for the deployment to succeed.
--> Found Docker image bdd1731 (18 hours old) from  for "magnolia-1:latest"

    * This image will be deployed in deployment config "magnoliax"
    * Port 8080/tcp will be load balanced by service "magnoliax"
      * Other containers can access this service through the hostname "magnoliax"
    * WARNING: Image "magnolia-1:latest" runs as the 'root' user which may not be permitted by your cluster administrator

--> Creating resources ...
    deploymentconfig "magnoliax" created
    service "magnoliax" created
--> Success
    Application is not exposed. You can expose services to the outside world by executing one or more of the commands below:
     'oc expose svc/magnoliax'
    Run 'oc status' to view your app.
[root@localhost ~]# oc expose svc/magnoliax
route "magnoliax" exposed
[root@localhost ~]# oc get routes
NAME             HOST/PORT                                      PATH      SERVICES         PORT       TERMINATION   WILDCARD
magnoliaauthor   magnoliaauthor-default.139.162.131.60.nip.io             magnoliaauthor   8080-tcp                 None
magnoliax        magnoliax-default.139.162.131.60.nip.io                  magnoliax        8080-tcp                 None
[root@localhost ~]#


Page Turner
button-linkstrue