Last 12 weeks · 0 commits
4 of 6 standards met
I'm on macOS and have installed docker through Docker Desktop . Here is a simple demo of not recognizing docker during the build process: As we can see is not present, but is. Seems to me - at least at surface level - unlikely to pass outside of docker but to better detect the build process, at least on my platform
This package returns true when I try to run in in my own system (not in docker). I use Ubuntu 18.04 and the package version is 2.2.0. I suppose, positive match comes from the check Output of /proc/self/cgroup from the native system terminal: If I check it inside a docker container, the ouput of file is the next: I don't know from where the part comes from, so I can't say how it should be modified to run correctly. But now I had to go on previous version (where only "docker" in cgroups is being detected)
Repository: sindresorhus/is-docker. Description: Check if the process is running inside a Docker container Stars: 235, Forks: 15. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v4.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, ds82, BendingBender, HonkingGoose, markacola, dword-design.