steampipe-plugin-docker

command module
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

image

Docker Plugin for Steampipe

Use SQL to query Dockerfile configuration and more from Docker.

Quick start

Install the plugin with Steampipe:

steampipe plugin install docker

Configure your config file to include directories with Dockerfiles. If no directory is specified, the current working directory will be used.

Run steampipe:

steampipe query

Run a query:

select
  instruction,
  data
from
  dockerfile_instruction
order by
  start_line;

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-docker.git
cd steampipe-plugin-docker

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/docker.spc

Try it!

steampipe query
> .inspect docker

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL