Skip to main content

Check if running inside a Docker container

Project description

in-container PyPI versionBuild Statuscodecov

Allows you to check if your 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

MIT

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.7.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

in_container-0.7-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file in_container-0.7.tar.gz.

File metadata

  • Download URL: in_container-0.7.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.7

File hashes

Hashes for in_container-0.7.tar.gz
Algorithm Hash digest
SHA256 c72534beac9015343b45faef25a400b19e588f52e4402f5da3d71961251ea1b5
MD5 1a067af65b7ceafaf54380c416f7f0ba
BLAKE2b-256 a7e01cf6d692a4b4f3bf9ea89a842dc4156190ae3da1da81c009c7a40110a924

See more details on using hashes here.

File details

Details for the file in_container-0.7-py3-none-any.whl.

File metadata

  • Download URL: in_container-0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.7

File hashes

Hashes for in_container-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 40509b0f7ba562f4bf58f6940c11172e685752fe8e9aa9ccb72156d630e5356d
MD5 74e3d841a261693a2c7253dad32e89c0
BLAKE2b-256 4efaa976ced7a6f8579e58bb4aa450b690d135ec69b94d6b0908fd911ef832f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page