Giter Club home page Giter Club logo

advanced-docker's Introduction

FROM: https://github.com/CSC-DevOps/Course/blob/master/HW/HW4.md

Homework 4 - Advanced Docker

Screencast:

In this homework assignment, you'll get to practice several common architectural patterns for dealing with multiple docker containers.

  1. File IO: You want to create a container for a legacy application. You succeed, but you need access to a file that the legacy app creates.
  • Create a container that runs a command that outputs to a file.
  • Use socat to map file access to read file container and expose over port 9001 (hint can use SYSTEM + cat).
  • Use a linked container that access that file over network. The linked container can just use a command such as curl to access data from other container.
  1. Ambassador pattern: Implement the remote ambassador pattern to encapsulate access to a redis container by a container on a different host.
  • Use Docker Compose to configure containers.
  • Use two different VMs to isolate the docker hosts. VMs can be from vagrant, DO, etc.
  • The client should just be performing a simple "set/get" request.
  • In total, there should be 4 containers.
  1. Docker Deploy: Extend the deployment workshop to run a docker deployment process.
  • A commit will build a new docker image.
  • Push to local registery.
  • Deploy the dockerized simple node.js App to blue or green slice.
  • Add appropriate hook commands to pull from registery, stop, and restart containers.

advanced-docker's People

Contributors

rohancme avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.