Giter Site home page Giter Site logo

docker-assignment's Introduction

Container Orchestration and Infrastructure Automation Assignment

In This Assignment we have two containers as follows :

Server

  • Create a volume by name servervol.
  • The server container will mount servervol in /serverdata.
  • This container runs a server application which will create a file of size 1KB with random text data in /serverdata and then transfer the file to the client along with the checksum.
  • The server application itself can be built using any language you are comfortable with. But, the container should include all the packages that are required to run your application. Choose your base image wisely and install only the necessary packages.
  • The port on which the server runs must be specified as a command line argument when we run docker.

Client

  • Create a volume by name clientvol.
  • The client container will mount clientvol in /clientdata.
  • The client container runs an application that connects to the server, recieves the file that the server sends and saves it in "/clientdata".
  • Verify that the file is received properly at the clientside by verifying the checksum.
  • The client application again can be wriiten in any language that you are comfortable with, but the container should include all the necessary packages. Choose your base image wisely and install only necessary packages.

To view the complete question, click here.

How to Run

$ docker compose up

docker-assignment's People

Contributors

kartiks123 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

venu926

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.