Can I run a Node app in the official Node docker image, or do I need to create my own registry containing the node-based app?

I've been looking into Docker for an easy way to scale an app. It's an React and Node app with ArangoDB database. I figured the best way to launch Arango was in a Docker and perhaps put the app and back-end in their own Docker images. However, realizing that this might require making my own private Docker registery makes adds an extra step that might be a little too much.

I liked the GUI of Jelastic, but if a Docker registry is really necessary I may go back to my Dokkku solution.

I don't suppose there is a way to use the official Node Docker image and then git clone my private repo into that?

2 answers

  • answered 2018-04-17 05:27 Jelastic

    If you suddenly decide to use the private registry - in Jelastic Cloud you can set up your own Docker private registry, build custom docker images, pull created images into the custom registry and then deploy Docker containers.

    All the necessary information and steps you can find in the docs below:

  • answered 2018-04-17 05:27 Damien - Layershift

    However, realizing that this might require making my own private Docker registery makes adds an extra step that might be a little too much.

    This is not correct. You do not need to run your own registry in order to use a custom Docker image; you can place that image on any existing public (or private) registry such as the ones operated by Docker (Docker Hub) or CoreOS (Quay)

    If that is your only concern, I would suggest that using your own custom image on one of those hosted registry services (free or paid, public or private, as your needs require) would be one of the easiest options for you.