Code Monkey home page Code Monkey logo

docker's Introduction

A Docker image for providing a unified computing system for coursework

Installation of the CSAL Docker image

Note: This README assumes that there is already Docker installed on the host machine, either Windows, MacOS or Linux. For more info on how to obtain Docker, please visit:

https://www.docker.com/products/docker-desktop

Start by downloading the content of this repo, either through git clone https://github.com/AUTh-csal/Docker.git or by zip download here:

https://github.com/AUTh-csal/Docker/archive/main.zip

Afterwards, by opening a terminal or Command Prompt, according to your host OS, navigate to the folder where the extracted data is (default extracted folder is Docker). There you can see the following directory structure (timestamps may vary!):

2020-09-29  08:57    <DIR>          .
2020-09-29  08:57    <DIR>          ..
2020-10-07  15:12             3 703 Dockerfile
2020-09-29  08:57                47 hpc-build-image
2020-09-29  08:57                85 hpc-create-container
2020-09-29  08:57                89 hpc-start-container
2020-09-29  08:57                78 hpc-uninstall
2020-09-29  08:57               786 Welcome
2020-09-29  08:57    <DIR>          Windows

For Windows users, navigate to the Windows directory and then run hpc-build-image.bat, hpc-create-container.bat and hpc-start-container.bat. The screenshots below show the expected behavior respectively (folder names may vary, I have used c:\git\Docker2 as my base folder).

hpc-create-container

hpc-start-container

For Linux and MacOS users, remain in this folder, run hpc-build-image, hpc-create-container and hpc-start-container.

Pulling & building hello world examples for the course 050 - Parallel & Distributed Systems

After succesfully having built, created and ran the container, you should be able to see the following screen, aka welcome screen.

2020-10-13_10h54_58

Then you can clone our pds-codebase repo by envoking the command git clone https://github.com/AUTh-csal/pds-codebase.git inside the container, as shown in the screenshow below.

2020-10-13_11h08_27

Then you can cd into the new folder by cd pds-codebase and do a make all and make test and you should be able to build all the hello world examples and run their respective tests as show below.

2020-10-13_11h12_08

docker's People

Contributors

bnase avatar fcdimitr avatar pitsianis avatar pkarakal 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.