We have provided an online playground with several environments for you to experiment with various concepts discussed throughout the book: practice SQL queries using a relational database, play around with MongoDB, a NoSQL database, or see how a graph database works using Cypher and Neo4j. A number of visualizations illustrate how search tree structures work.
There are two ways how you can use the online playground: either through this site or as a Docker container. We recommend the Docker option if you're planning to use the playground with many students or want to host your own environment.
See this YouTube video on how to use the online practice environment.
A Dockerfile repository is hosted at this GitHub repository from which you can set up your own Docker containing containing the full playground environment. Docker is available both for Linux, Mac, and Windows operating systems.
Download a ZIP file of the GitHub repository for the playground. Extract it somewhere easy to find (e.g. "pdbmbook-docker-master" on your Desktop).
In your PowerShell window, navigate to the "pdbmbook-docker-master" directory using the "cd" command, and enter:
docker build .
Docker will now start preparing your image. This might take a few minutes depending on your Internet connection. Once done, verify the image is up by entering:
docker images
This will show something like:
REPOSITORY TAG IMAGE ID CREATED SIZE none none 258b38268c91 41 seconds ago 1.44GB ubuntu xenial 0b1edfbffd27 11 days ago 113MB
Run the image using the following command (make sure to replace "258b38268c91" with your correct image ID):
docker run -i -t -p 8081:80 258b38268c91
Once done booting, you can navigate to 127.0.0.1:8081 in your web browser to use the playground environment.
© Principles of Database Management 2026.
Send us your feedback.