All Projects → aa8y → docker-dataset

aa8y / docker-dataset

Licence: other
Docker database images with pre-populated data for testing and/or practice.

Programming Languages

Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-dataset

rails5-docker-alpine
Lightweight Docker development environment for Rails using Alpine Linux
Stars: ✭ 71 (+102.86%)
Mutual labels:  lightweight, alpine
rockgo
A developing game server framework,based on Entity Component System(ECS).
Stars: ✭ 617 (+1662.86%)
Mutual labels:  lightweight
natick
natickOS - A minimal, lightweight, research Linux Distribution
Stars: ✭ 33 (-5.71%)
Mutual labels:  lightweight
CalDOM
An agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.
Stars: ✭ 176 (+402.86%)
Mutual labels:  lightweight
alpine-grafana
alpine-grafana
Stars: ✭ 14 (-60%)
Mutual labels:  alpine
JetScreenRecorder
A simple screen capture video recorder using the AfrogeNet ffmpeg DLL and windows forms with a flat ui.
Stars: ✭ 70 (+100%)
Mutual labels:  lightweight
http-server
A Java HTTP server in 35MB Docker image
Stars: ✭ 17 (-51.43%)
Mutual labels:  alpine
urbit-docker
No description or website provided.
Stars: ✭ 16 (-54.29%)
Mutual labels:  alpine
Mvvmicro
Minimalist MVVM framework for .NET.
Stars: ✭ 22 (-37.14%)
Mutual labels:  lightweight
iogrowCRM
CRM for Social Selling, on Google. Integrated with LinkedIn, Twitter, Facebook & Gmail.
Stars: ✭ 28 (-20%)
Mutual labels:  lightweight
docker-node-ci
The Docker image based on the official "node" image optimized for a CI environment
Stars: ✭ 18 (-48.57%)
Mutual labels:  alpine
dockerimages
🐳 Some dockerfiles based on alpine
Stars: ✭ 27 (-22.86%)
Mutual labels:  alpine
torpool
Containerized pool of multiple Tor instances with load balancing and HTTP proxy.
Stars: ✭ 42 (+20%)
Mutual labels:  alpine
backup-repository
Backup storage for E2E GPG-encrypted files, with multi-user, quotas, versioning, using a object storage (S3/Min.io/GCS etc.) and deployed on Kubernetes or standalone.
Stars: ✭ 21 (-40%)
Mutual labels:  lightweight
clifm
The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell
Stars: ✭ 825 (+2257.14%)
Mutual labels:  lightweight
node-docker
Guide for Writing Dockerfiles for Node.js Applications
Stars: ✭ 91 (+160%)
Mutual labels:  alpine
aleph
A simple PHP framework for very small sites
Stars: ✭ 14 (-60%)
Mutual labels:  lightweight
vercel-toast
💬 Framework-agnostic vercel design's toast component (≈1KB Gzipped)
Stars: ✭ 67 (+91.43%)
Mutual labels:  lightweight
LC-switch
Superlight vanilla javascript plugin improving forms look and functionality
Stars: ✭ 31 (-11.43%)
Mutual labels:  lightweight
growl-alert
A simple growl like notification system.
Stars: ✭ 14 (-60%)
Mutual labels:  lightweight

Docker Dataset

Build Status

Have you ever wanted to access pre-populated databases with dummy but valid data? It can be for something as simple as practicing writing SQL queries to running tests on databases. Under such circumstances, you have to either have to create dummy data or utilize some internet-searching skills to find data to populate your database. I think this is a common enough problem/requirement that solution can be Dockerized for reuse. So here is a Docker image for PostgreSQL with databases populated with sample data.

Datasets

So far we have the following datasets which are being used in the images.

  • Postgres Sample Databases: The datasets being used from here are dellstore2 (tagged dellstore), iso3166, sportsdb, usda and world. pgFoundry has been down for a few days now. Therefore we have switched the URLs to their FTP sources here.

Databases

The only database supported so far is PostgreSQL. We use the alpine version of the official image as the base image to keep our image slim.

Tags

Available tags are dellstore, iso3166, sportsdb, usda, world, all and latest. all and latest are the same image with all the datasets in one image. Each of them has been loaded into their own database in the image. The rest of the tags belong to images single datasets.

pagila has been removed

The pagila tag has been removed due to the fact that it was broken for a while and it also broke the all and latest tags. This is because the Pagila dataset we were using had a change which was not compatible with any version of Postgres (See #1 and this issue for context.

Usage

You can start the container by running:

docker run -d --name pg-ds-<tag> aa8y/postgres-dataset:<tag>

and access it by:

docker exec -it pg-ds-<tag> psql -d <db_name>

where <tag> is one of the tags mentioned here and <db_name> is the database name which is one of the dataset names mentioned here. You can also use them with docker-compose. See this example for information on how to use them.

Custom images

If you want to build a custom image with not one or all the datasets, but some, then you can do that using:

docker build -t aa8y/postgres-dataset:some --build-arg DATASETS=dellstore,world .

and then following the same aforementioned steps for using your custom image.

Future Work

  • Images for other popular databases like MySQL.
  • Add french-towns-communes-francais datasets from Postgres Sample Databases.
  • Find and add more free data sources.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].