Sign inSign up

michelesr/docker-tutorial

By michelesr

Updated over 8 years ago

Docker Tutorial

Image
0

1.6K

michelesr/docker-tutorial repository overview

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.

Tag summary

Content type

Image

Digest

Size

263.7 MB

Last updated

over 8 years ago

docker pull michelesr/docker-tutorial