Dockerfile to build and use as a Docker container #269

wants to merge 1 commit into


None yet

2 participants


This allows the project to be built and run as a Docker container. To build the container:

$ docker build -t generatedata .

Then run with a linked MySQL container:

$ docker run -d --name mysql -e MYSQL_DATABASE=gd -e MYSQL_USER=gd -e MYSQL_PASSWORD=d0ck3ry0 -e MYSQL_ROOT_PASSWORD=d0ck3ry0 mysql
$ docker run -d --name generatedata -p 8888:8888 --link mysql:mysql generatedata

You can then get to the web interface at and set database hostname to mysql and the appropriate credentials set by the MySQL container environment variables. This can be a great alternative to a virtual machine when if a user already has Docker available as a host.

benkeen commented May 26, 2015

Thanks, @andyshinn! I really must spend some time to learn about Docker.

I'll leave this open in the meantime, but there's also this repo for a Docker-packaged generatedata:

benkeen commented May 26, 2015

I've linked to this PR on the main README.

@benkeen benkeen closed this May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment