Giter Club home page Giter Club logo

learn-docker's Introduction

Docker logo


๐Ÿ‹ learn-docker

Docker is a platform for building, running, and shipping applications in a consistent manner, so if your application works on your development machine, it can work and function in the same way on other machines.

Live demo: https://hub.docker.com/repository/docker/mistervaliant/hello-docker


Generic badge


โœ’๏ธ General Information

If you have been developing for a while, you must have probably come across this situation where your application works on your development machine but does not work somewhere else.

Some reasons may be:

  1. Missing files
  2. Version mismatch (e.g Node version)
  3. Different configuration settings

๐Ÿ‹ This is where Docker comes to the rescue.


๐Ÿ›ˆ About:

With Docker, we can easily package our application with everything it needs and run it anywhere on any machine.

For example, if an application requires a particular version of Node and MongoDB, all of this will be included in the applications package.You can take this package and run it on any machine that runs Docker.

Moreover, if someone joins your team, they do not have to waste time setting up a new machine to run the application. They simply have to tell Docker to bring up the application and it will automatically download and run these dependencies inside an isolated environment called a 'container' ๐Ÿ“ฆ. This isolated environment allows multiple applications use different vesions of some software side by side.

๐Ÿค” Containers v/s Virtual Machines (VMs)

Container Virtual Machine
An isolated environment for running an applicaiton An abstraction of a machine (physical hardware)
More lightweight Need full-blown OS for each VM
Need less hardware resources Slow to start and resource intensive

Compared to VMs, containers can be ran on a single OS host side-by-side.


Install Docker:

  1. Download Docker from the main website
  2. Follow the system requirements before installation
  3. After installation, type docker --version in a terminal
  4. Add docker file to application to start using Docker

โค๏ธ Motivation

The main aim is to learn how to use Docker to consistently build, run, and ship applications.


๐Ÿ‘จโ€๐Ÿ’ป Technologies Used

Technologies


๐Ÿ“ท Tutorial

Programming with Mosh


๐Ÿ”— References

This project is a tutorial from Programming with Mosh


Contact

Created by @MisterValiant - feel free to contact me! ๐Ÿ“ง

learn-docker's People

Contributors

mistervaliant avatar

Watchers

 avatar

Forkers

alien166

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.