docker-detector

Detect if your Python process is running inside a Docker container. Inspired by the popular is-docker npm package. Supports cached results with optional refresh.

Version1.0.1
Downloads
1.84k
LicenseMIT
Author"Y. Siva Sai Krishna"
UpdatedJan 19, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal1.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 3 series
Selected total1.74k
1.8kAll-time
621Last 30 days
10Last 24 h
<0.01/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    1.0.1

    535 downloads
    61.5%
  • 02

    1.0.0

    335 downloads
    38.5%

Guess the next day

Thirteen recent days of docker-detector downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH106THUFRISATSUNMONTUEWEDTHUSATSUNMONWEDTHU
    docker-detector · 1.8k downloads on PyPI