grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

build_your_own_dockerfile.md (548B)


      1 # build you own dockerfile and run containers from it
      2 
      3 * dockerfiles are part process workflow and part art
      4 * take existing node.js app and 'dockerize' it
      5 * make `Dockerfile`. build it. test it. push it. rm it. run it
      6 * expect this to be iterative. don't always get it right first time
      7 * details in `~/src/udemy/docker_mastery/dockerfile-assignment-1/Dockerfile`
      8 * use alpine version of official 'node' 6.x image
      9 * expected result is website at http://localhost
     10 * tag and push to docker hub
     11 * remove your image from local cache, run again from hub