Check if running inside a Docker container
Project description
in-container
Allows you to check if you program is running inside a Docker container
Install
$ pip install in-container
Usage
from in_container import in_container
print(in_container()) # True or False
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
in_container-0.0.2.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for in_container-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0b618d8a5d25d93e6ab8fd26cf6c0acc77f36cf9d27c0f4defe3892f5d3843 |
|
MD5 | 3fb58eba5af17c3b1e1ef9333c37c359 |
|
BLAKE2b-256 | b338e41fb099cc0fa50e04b8e06f5c526d34cf6babdeac54d61af989f0f3a52b |