Confirm the Docker engine version be executing the docker –version command in a terminal or command prompt window.Ī familiarity with Linux and UNIX command lines.Īn understanding of the Docker-Compose YAML files syntax as well as Dockerfile commands.Īs this tutorial series will use a docker-compose.yml file to build and run the Django and Postgres container, the separate package for Docker Compose must be installed. The Docker engine must be installed and functioning in order to use Docker and Django Postgres in a web application. This tutorial will explain how to use Docker to setup a Django and PostgreSQL container for a web app. While the containers are separated from each other, they can communicate with each other and bundle their own libraries and configuration files. Docker uses OS-level virtualization to render software in packages referred to as containers. It is designed to promote clean and practical design, fast development and provides support for several popular databases, including PostgreSQL.
Django is an open-source, full-stack web framework written in Python programming language.
This is part one in a tutorial series explaining how to use Docker and Django Postgres in a web application.