Skip to content

riprsa/debug-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ³πŸ”§ A tiny debug Docker image

image

Overview

Less than 10MB image for debug purposes. You can use this image to create tens of containers while exploring Traefik or similar systems.

Setup

Docker Compose

services:
  debug_container:
    image: ghcr.io/riprsa/debug-container:latest
    ports:
      - "80:8081"
    environment:
      # PORT of inner HTTP server. Default value is ":80"
      - PORT=:8081
    # other Compose properties that you would like to use

By default, the container assumes its ID via HOSTNAME. However, you can override it. Read more

Usage

You can use an HTTP client to make a request to the container. It sends an HTML page for GET requests and JSON for other methods. JSON signtaure is:

{
  "container_id": "your_container_id"
}

About

πŸ³πŸ”§ A tiny debug Docker image

Topics

Resources

Stars

Watchers

Forks

Packages