IBM Db2 - The Ultimate Database for Cloud, Analytics & Mobile
By James Cockayne
Jupyter notebooks are a popular way to query DB2 databases. The ease of use to set up a notebook and run complex queries with rich visualisations make them ideal for quickly demonstrating concepts and data trends. As the notebooks run Python code, this gives us the opportunity to use another tool useful for spinning up demonstration environments – Docker. To do this we use the Docker SDK for Python – in this blog we look at how to spin up a Docker container and run a query against the container all from one notebook. If you would like to find out more or use this code yourself, visit the Triton Consulting by clicking here.
Add a Comment