Skip to content

espositocloud/docker-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Tutorial

This simple web application has been built as an example/tutorial for introducing Docker and Docker Compose features in a talk for the Applied Computer Science course at University of Urbino.

The application consists of a database of students and grades, to show how is easy to setup an application composed of more services (such as an application server and a database management system)

Setup

To run the application install Docker and Docker Compose, then run:

$ docker-compose up -d

To check the status:

$ docker-compose ps

        Name                   Command            State            Ports
----------------------------------------------------------------------------------
dockertutorial_app_1   /bin/sh -c python app.py   Up      127.0.0.1:8000->8000/tcp
dockertutorial_db_1    /entrypoint.sh mongod      Up      27017/tcp

To see the log:

$ docker-compose logs

See docker-compose help for additional information.

About

Docker Tutorial for University of Urbino (december 2016)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published