Signup for the Ionic Newsletter to get the latest news and updates!

  • Regnoult François

    Hi, interesting procedure. But does it mean that your source code is present on ALL your boxes? You also still need to reload the change on all your boxes. I don’t really see where you saved the 20min you presented

  • Joshua Kugler

    I would be interested in seeing your startup scripts and/or config. Since you’ve mounted the code on a volume, I would assume it’s not in the standard Python sys.path. What do you do to fiddle with sys.path before you start your app to make sure Python can import all needed code?

  • Christian Landgren

    If you add your files on different lines in your dockerfile it will automatically cache the previous layers if no changes were made. This speeds up the deployment a lot. Example:

    WORKDIR /app
    ADD packages.json /app/
    RUN npm install –production
    ADD index.js /app/
    ADD images /app/
    ADD out /app/
    CMD node index.js

    This means that npm install will only run if the packages.json was changed.

  • Ashwin

    Can I do configuration management for the WAS ND, Weblogic, TIBCO EMS , WMQ, BPM products through Docker or Chef + Docker?

    By Configuration management what I mean is for ex: WAS ND, would I be able create/modify/delete JDBC data source/JMS Topic/Queue, Share library, Users modifications etc on a WASND instance without using Jython/JACL or any external scripts. The point is do update run time configurations for a product solely using Docker or Chef + Docker, if its possible kindly let me know how.

  • agentfitz

    Thank you for the article! I want to understand how you mounted the volume, but I’m a bit confused. For a developer working on OSX, such as myself, it’s important to bear in mind there are 3 possible “levels” here, host (OSX), docker-machine (could also be considered the host of the docker engine), and the docker engine itself.

    Considering this, when you are referring to the “host” in this article, are you referring to OSX (if that’s what you’re running), are are you referring to the docker-machine?

    Assuming by host you mean OSX, then is /path/to/code/on/host relative to the Dockerfile or is it a path from the system base? In other words, on OSX: /my-code (relative to Dockerfile) or /Users/me/projects/www/myproject/my-code?


  • jroubieu

    Hi! It’s been more than a year since this post. I’m curious about whether you still use this deployment workflow, and if it has evolved since then and why. Could you give us an insight in a few lines?

  • Arun Karthi Mani

    Excellent article, How you guys pull the code is it via peer to peer or git pull