• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Query your docker via SQL

dockersql

Query your docker with SQL. Why? Why not.

Connect to your docker

dockersql --docker http://docker:2375

Get the count of all images

dockersql
> select count(*) from images;
count(*)
25
>

Select all images larger than 1G

dockersql
> select * from images where virtual_size > 1024*1024*1024
id                                                                 parent_id                                                          size       virtual_size   tag
8803adbf8f9c90dd66c146651401aab40a1c12cdbb6fb5bd3934c4ad6f05389d   e16a6ea01ac787c7bebdd73c92037a4fa9ca2bd61979ba00d1831d535aefdaf2   55810869   1196777592     docker:latest
f2505178b040558983f5a54ec32119d1407b68aa936be4942d5a41a199befaf2   e16a6ea01ac787c7bebdd73c92037a4fa9ca2bd61979ba00d1831d535aefdaf2   59775724   1200742447     release:latest
>

Join containers and images

dockersql
> SELECT c.id, c.name, c.image FROM containers AS c JOIN images AS i ON c.image=i.tag
id                                                                 name              image
3481862d9bb6e0fd9ad4d951faa7ebf9a477a0194975fb1698a1d3e9691c7935   /redis            crosbymichael/redis:latest
f733305c31fd3e7ea7269a96ff1747f977ee5a19decf8b4778a481a010434a0c   /local-registry   registry:latest
>

License - MIT

More Repositories

1

skydock

Service discovery via DNS for docker
Go
1,059
star
2

slex

SSH multiplex
Go
559
star
3

Dockerfiles

Collection of Dockerfiles
Python
299
star
4

boss

Run containers like a ross
Go
297
star
5

docker-stress

Simple go stress test for docker
Go
107
star
6

proxy

Generic TCP/UDP proxy with awesome features
Go
66
star
7

.dotfiles

bootstrap for my dev setup
Vim Script
59
star
8

dockercon-2016

Code from my containerd talk
C
52
star
9

zkctl

Zookeeper CLI
Go
42
star
10

tracker

Go based bittorrent HTTP tracker
Go
26
star
11

crypt

Easy cross platform encryption and decryption
Go
26
star
12

thinkorswim

Thinkorswim C# Client using RTD
C#
25
star
13

firewall

Simple iptables based firewall
Go
23
star
14

ip-addr

Print the IP address for a given interface by name
Go
23
star
15

php-csv-to-xml-json

Online php script to convert csv files or links to csv files to xml and json
PHP
21
star
16

sentry-docker

Dockerfile for getsentry.com
Python
19
star
17

hooks

An application to manage webhooks
Go
19
star
18

dockerci

temp repo for docker ci service
Go
19
star
19

vim-cfmt

Vim plugin for automatic formatting of C source code
Vim Script
17
star
20

youtubedl-docker

Youtube downloader for docker
Shell
17
star
21

steamcmd-docker

Steam cmd for linux servers
Dockerfile
15
star
22

dolly

CSS
13
star
23

minecraft-docker

Minecraft dockerfile
9
star
24

butterfly-docker

Dockerfile for butterfly
Shell
9
star
25

gistit

Simple Go app to create gists on the command line
Go
8
star
26

ajenti-docker

Dockerfile for ajenti server monitor
Shell
7
star
27

fsharp-docker

f# dockerfile
Shell
7
star
28

mc-overviewer-docker

Minecraft overviewer dockerfile
7
star
29

messages

Simple message passing across processes or the world via redis
Go
7
star
30

tCal

Get your iCal events in terminal
Objective-C
6
star
31

rail

Prometheus UPS Exporter
Go
6
star
32

golang-docker

Go image base
Shell
6
star
33

rethinkdb-docker

Trusted build repository for Rethinkdb and docker
6
star
34

postgres-docker

Docker postgres
Shell
5
star
35

docker-hipache

Auto configure hipache routes with the docker events API
Go
5
star
36

pipelines-dockercon

Dockercon demo
Go
5
star
37

build-essential-docker

Gcc cpp build-essential libc
Shell
4
star
38

fm

CLI based file manager
Go
4
star
39

nginx-docker

Dockerfile for nginx
3
star
40

redis-docker

Redis dockerfile
Shell
3
star
41

htop-docker

Shell
3
star
42

dsh

the shell for the 2000nds
Go
3
star
43

python-docker

Dockerfile for python on debian
Shell
3
star
44

mvvm-async

.NET WPF MVVM Framework focused on asynchronous programming
C#
3
star
45

containerd-proxy

containerd system proxy
Go
3
star
46

teamspeak-docker

Shell
3
star
47

CocoaLinq

Linq for Objective - C
Objective-C
3
star
48

botbot

Discord bot package inspired by urfave/cli
Go
3
star
49

CMCoreNET

C#
2
star
50

htpasswd-docker

Docker repo for htpasswd
Shell
2
star
51

codeassistant

Run code snippets on windows
C#
2
star
52

java-docker

Java dockerfile base image
Shell
2
star
53

go-1.5-cbinding

Sample of making C link to Go functions
Go
2
star
54

ircstats

Go
2
star
55

feedparser

Go feedparser
Go
1
star
56

docker-link

Link into docker
Go
1
star
57

scout-docker

Scout realtime in a docker container
Shell
1
star
58

public

PSA
1
star
59

cloud9-docker

Dockerfile for cloud9 IDE
Shell
1
star
60

live-docker

Never die
Shell
1
star
61

shipyard-agent

Shipyard Agent
Go
1
star
62

RestfulMVC

C#
1
star
63

ipython-docker

Dockerfile for ipython with matplotlib, pandas, and numpy
Shell
1
star
64

securing-containers

Dockercon 2017 Talk
1
star
65

share

just a playground for tty websockets
Go
1
star
66

docker-qa

Go
1
star
67

monitor

Go
1
star
68

mono-docker

mono dockerfile
Shell
1
star