Running dockerql as a local server
A simple way to get started is using a docker container running dockerql.
Follow these steps.
- cd to a location where you want to deploy dockerql.
- Clone from github.
git clone https://github.com/simplyCoders/dockerql.git
- Build lib locally.
cd dockerql npm run build:local
- Run the service.
npm run start:local
- Test that it works by running your first query from the browser.
- List of repos under the alpine organization
http://localhost:8080/v1/query?sql=SELECT * FROM repos WHERE namespace="alpine"
- List of images under the simplycoders/dockerql repo:
http://localhost:8080/v1/query?sql=SELECT * FROM images WHERE namespace="simplycoders" AND repo="dockerql"
- Congrats! Assuming all went well then you have a running instance of dockerql.
Next steps
- How-to set up access to your registries.
- Visit the dockerql docs.
- Visit the dockerql project page.