in-container 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