Skip to content

tetra-fox/container-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

services:
  container-info:
    image: "ghcr.io/tetra-fox/container-info:latest"
    ports:
      - "3621:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro # 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)

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •