reading-notes

This Repo required for Asac labs class 2


Project maintained by ManarAbdelkarim Hosted on GitHub Pages — Theme by mattgraham

Django REST Framework & Docker

Docker overview

Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.

The Docker platform

Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host.

Docker architecture

Docker objects

An image is a read-only template with instructions for creating a Docker container. Often, an image is based on another image, with some additional customization.

A container is a runnable instance of an image.

Install Docker

  1. install from https://www.docker.com/get-started
  2. run command sudo pip install docker-compose

Image Builds

run command docker image build

Conclusion

-Docker is a way to run Linux containers

Library Website and API

Django REST framework

Django REST framework is a powerful and flexible toolkit for building Web APIs.

Some reasons you might want to use REST framework:

how Django REST Framework works