GithubHelp home page GithubHelp logo

tetra-fox / container-info Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 181 KB

๐Ÿ‹ A tiny Golang API that returns metadata of all Docker containers.

License: GNU General Public License v3.0

Go 92.24% Dockerfile 7.76%
container containers docker docker-compose metadata api microservice status microservices golang go

container-info's Introduction

container-info

A tiny Golang API that returns metadata of all Docker containers.

I created this because I wanted a simple way to get the status of the various services that run my home network without returning sensitive information (such as my network configuration, volume bindings or entrypoint arguments).

You can see a live instance of this here, and in use here!

docker-compose example

version: "3.7"

services:
  container-info:
    container_name: status
    image: "ghcr.io/tetra-fox/container-info:latest"
    ports:
      - "3621:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # So we can get information from Docker!

Endpoints

Method Endpoint Description
GET / Returns the metadata of all containers.
GET /{name(s)} Returns the metadata of the specified container(s). (comma-separated)

container-info's People

Contributors

dependabot[bot] avatar renovate[bot] avatar tetra-fox avatar

Watchers

 avatar  avatar  avatar

container-info's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update actions/checkout action to v4.1.4

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • golang 1.22-alpine
github-actions
.github/workflows/docker.yml
  • actions/checkout v4.1.1
  • docker/setup-qemu-action v3.0.0
  • docker/setup-buildx-action v3.3.0
  • docker/login-action v3.1.0
  • docker/metadata-action v5.5.1
  • docker/build-push-action v5.3.0
gomod
go.mod
  • go 1.20
  • github.com/docker/docker v25.0.5+incompatible
  • github.com/gin-gonic/gin v1.9.1
  • golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f@fe59bbe5cc7f

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.