Metadata-Version: 2.1
Name: docker-check
Version: 0.0.3
Summary: A small Python utility that tries to check if we are inside a Docker container.
Home-page: https://github.com/night-crawler/docker-check
Author: night-crawler
Author-email: lilo.panic@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License

docker-check
~~~~~~~~~~~~

A small Python utility that tries to check if we are inside a Docker
container.

Supports Linux and Windows containers.

Installation
~~~~~~~~~~~~

.. code:: bash

   pip install -e git+https://github.com/night-crawler/docker-check.git@HEAD#egg=docker-check
   # OR
   pip install docker-check

Usage
~~~~~

.. code:: python

   from docker_check import checker
   if checker.is_inside_container():
       print('Inside container')
   else:
       print('Not inside container')


