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.
docker-detector has been downloaded 2,665 times in total on PyPI, including 521 in the last 30 days. The latest version is 1.0.1, released Jan 19, 2026. It is distributed under the MIT license.
Version1.0.1
Downloads
2.67k
LicenseMIT
Author"Y. Siva Sai Krishna"
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal1.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 3 series
Selected total2.99k
2.7kAll-time
521Last 30 days
21Last 24 h
<0.01/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0163.6%
1.0.1
950 downloadsDownloads95063.6% - 0236.4%
1.0.0
544 downloadsDownloads54436.4%
Guess the next day
Thirteen recent days of docker-detector downloads. Drag the green handle on the right to guess where day fourteen lands.