Code Monkey home page Code Monkey logo

docker-pg-scott's Introduction

docker-pg-scott

This is a Docker image with Ubuntu 14.04 and PostgreSQL 9.3 populated with the classical Scott database (EMP, DEPT, BONUS, SALGRADE) from the pg-scott project..

It automatically starts the psql shell to play with the data interactively.

Three relations are available: emp, dept and salgrade.

For details on the data see pg-scott.

Usage

To download the images from the Docker Hub and run them in one command:

# docker run -ti pocztarski/pg-scott

or:

# docker run -ti pocztarski/pg-scott-nd

Commands

  • ./build-docker-pg-scott.sh builds the Docker image.
  • ./run-docker-pg-scott.sh runs the Docker container.

Other scripts are used internally during the building process and should not be run manually.

Conversion

Converted to the simplest PostgreSQL data types (integer, text and date).

Issues

For any bug reports or feature requests related to the Docker container please post an issue in docker-pg-scott project.

For anything related to the data or SQL files please post an issue in pg-scott project.

Author

Rafał Pocztarski - https://github.com/rsp

License

MIT License (Expat). See LICENSE.md for details.

docker-pg-scott's People

Contributors

rsp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.