Skip to content

About

Docker Tutorial for University of Urbino (december 2016)

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages