An open API service indexing awesome lists of open source software.

https://github.com/allanpk716/is_running_in_docker

Check a process is running inside docker container
https://github.com/allanpk716/is_running_in_docker

check docker process running

Last synced: about 1 year ago
JSON representation

Check a process is running inside docker container

Awesome Lists containing this project

README

          

# Check a process is running inside docker container

Use this function`IsRunningInDocker` to check process is running inside docker container.

## Thx

* [Golang 如何确定App是否运行在Docker内 | Chen-Tao](http://chen-tao.github.io/2017/09/11/Go-check-if-app-running-in-docker/)
* [shell - How to check if a process is running inside docker container? - Stack Overflow](https://stackoverflow.com/questions/23513045/how-to-check-if-a-process-is-running-inside-docker-container)