{
	"name": "is-docker",
	"versions": {
		"1.0.0": {
			"name": "is-docker",
			"version": "1.0.0",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/sindresorhus/is-docker"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "node test.js"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"detect",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "0.0.4",
				"sinon": "^1.14.1"
			},
			"gitHead": "43550f2cb491fc42a273f13065cfad81be0569d3",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker",
			"_id": "is-docker@1.0.0",
			"_shasum": "31cbc0ae28b187c012986203254deb09f0ceb867",
			"_from": ".",
			"_npmVersion": "2.7.4",
			"_nodeVersion": "0.10.36",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"dist": {
				"shasum": "31cbc0ae28b187c012986203254deb09f0ceb867",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-1.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.0.1": {
			"name": "is-docker",
			"version": "1.0.1",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-docker.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "xo && ava"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"detect",
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "*",
				"sinon": "^1.14.1",
				"xo": "*"
			},
			"gitHead": "1ebfeb09bccdb93996164b47415d6aad16ac7f66",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker#readme",
			"_id": "is-docker@1.0.1",
			"_shasum": "c02e215fc3d1d2ffe35a3b70d19f9d984693a4d8",
			"_from": ".",
			"_npmVersion": "2.15.0",
			"_nodeVersion": "4.4.2",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"shasum": "c02e215fc3d1d2ffe35a3b70d19f9d984693a4d8",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-1.0.1.tgz"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/is-docker-1.0.1.tgz_1463555679110_0.1724248994141817"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.0": {
			"name": "is-docker",
			"version": "1.1.0",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-docker.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "xo && ava"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"detect",
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "*",
				"sinon": "^1.14.1",
				"xo": "^0.16.0"
			},
			"gitHead": "018db88bebd72308336fc90979550a3842b23176",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker#readme",
			"_id": "is-docker@1.1.0",
			"_shasum": "f04374d4eee5310e9a8e113bf1495411e46176a1",
			"_from": ".",
			"_npmVersion": "3.10.8",
			"_nodeVersion": "6.9.1",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"shasum": "f04374d4eee5310e9a8e113bf1495411e46176a1",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-1.1.0.tgz"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/is-docker-1.1.0.tgz_1477557310875_0.7883002860471606"
			},
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "is-docker",
			"version": "2.0.0",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-docker.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=8"
			},
			"scripts": {
				"test": "xo && ava && tsd"
			},
			"keywords": [
				"detect",
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "^1.4.1",
				"sinon": "^7.3.2",
				"tsd": "^0.7.2",
				"xo": "^0.24.0"
			},
			"gitHead": "7461d85a54fe45f3688a3938c640d461019e3536",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker#readme",
			"_id": "is-docker@2.0.0",
			"_nodeVersion": "8.16.0",
			"_npmVersion": "6.9.0",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ==",
				"shasum": "2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-2.0.0.tgz",
				"fileCount": 5,
				"unpackedSize": 2908,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcucibCRA9TVsSAnZWagAAn2cP/AoYJ49l8JcVNifeHbpT\n32xm/Mw+mO85RhyH/VEnmYGL9RQpl9FTknumhbGOWTiAxrjvcZcubIF2SdNY\neTwf4pOb+fBggg8LibSvoUvTR2cEXJmN8MdUDNh0G7YRoZC25Se7tDRn3i+W\nAkuoDs+7BeQmGeS/ZhcYqyTHfApp9vuqMzAi4BwuV8lSvS1t3oHOgPMDVg8A\nbaHxNWJsEACj6sNCvupgn3VzK8y384G0LUCIGyvmPNZ7eBBfyE+JO//JHAnI\nu/ftqGtPT0ViORKC7MjK4dik2Ry85WqgyoPN3Bkkqj0BF5VhYKfFiGGvrstx\n+K2uALUoedYx8iIiavkCxoX8k5yGhHzIOMyvPZAMn1ePxzllvVlrEu/S4Kl7\ndYA62R901iIH76nj0NPJhXeO4Y66V+KCQ7bVt5kpnskygFUasLF0WlOtRf/d\nhHDDW2rotTg+XE+th9UseOTYBzjAMgXC7qpEwuCG516OhZ53mOtYWIacrpJF\n9aOTcA/ftvojPmp2zycueVQc9x8/oE+0YaBsojcH2fMjP7VTvXZ1CvjEjfkH\nJCZhMvkLUpPl+nBEelOrOTrT/ucFlcf2Mqy0bmAOowZtNP9qEoYVod1y+nWk\nr1K0UrR4iE7oaCj06xWbshpUKLFYffj9pj7tzWIIofXNP+rbkyP0uLsOblxs\nMFyV\r\n=aI3e\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/is-docker_2.0.0_1555679387350_0.8466747373366723"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		},
		"2.1.0": {
			"name": "is-docker",
			"version": "2.1.0",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-docker.git"
			},
			"funding": "https://github.com/sponsors/sindresorhus",
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "https://sindresorhus.com"
			},
			"bin": {
				"is-docker": "cli.js"
			},
			"engines": {
				"node": ">=8"
			},
			"scripts": {
				"test": "xo && ava && tsd"
			},
			"keywords": [
				"detect",
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "^1.4.1",
				"sinon": "^7.3.2",
				"tsd": "^0.7.2",
				"xo": "^0.24.0"
			},
			"gitHead": "39a955b483b7f3483037b11bbd0c7e04a6fe511a",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker#readme",
			"_id": "is-docker@2.1.0",
			"_nodeVersion": "14.5.0",
			"_npmVersion": "6.14.5",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-mB2WygGsSeoXtLKpSYzP6sa0Z9DyU9ZyKlnvuZWxCociaI0qsF8u12sR72DFTX236g1u6oWSWYFuUk09nGQEjg==",
				"shasum": "25dc043e4fdc3cf969d622735e05a86ba9952e2b",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.0.tgz",
				"fileCount": 6,
				"unpackedSize": 3146,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJzzJCRA9TVsSAnZWagAATjcQAI4LozsAdZHVE1o2RVHC\n0f4bJHLId+iynnrQXzQ48J8aWTcsGpQdZRMLgloa0EoeoPJJnWcZwg2qRlpf\nEWSNGMpYEW1v4bItTjJrGvp0X3vkAorBB5owRBRVoNiUC/7BjSsmWs6pPPQa\n9TLaNmMIicfZZURlhHBneCXSR9yemenbePn1SjI/6vka2fLl1EZ0rurmzSlu\ndBHC+JroQf7NNRhqRpAebNHKIDUY4ZuVlAeVGUM9zD7taGeMt6MD17WbYJod\noMvhUHy5z5lHqO5IIcrSx7Bwp4bqRe6cZsbBkRUHHCEIWPvnkA/GQXjoQKDZ\nVLgla1i7JRUjbciQuyM1/MYLgqrJFKsvD9ks+AYo66V4+/k/etHeed2Y1MYf\nHBulJE92ZJVR0mMpdm+lOGMv0WNfPeNx509g1Jy0wO0Znzgawikf+lnyH21u\nKvNx0cKJs1fjl5rM8nLhyljG1pkJXrDY4iybBDprF7ct1JwboLlSvfngglTQ\nzZEaUpVBxgq6sN0J/M8APlRWdoUy+ELUeWUPl2ipbsbQ8US0FWXgT9oZ6mMj\njQ4duhdBK2IsA9sB6c0Sn22AfVkbFA5R5hvZ594RUiD1xKOiPaW7Ue0J1gkj\nTLA/1fPTzX3F1yTZS1yFLsUp4Pq8R/UGqULQye2/X+JLNqKRrH18oAPEfUvP\nM6RA\r\n=6vaF\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/is-docker_2.1.0_1596406985176_0.986967546057193"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		},
		"2.1.1": {
			"name": "is-docker",
			"version": "2.1.1",
			"description": "Check if the process is running inside a Docker container",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-docker.git"
			},
			"funding": "https://github.com/sponsors/sindresorhus",
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "https://sindresorhus.com"
			},
			"bin": {
				"is-docker": "cli.js"
			},
			"engines": {
				"node": ">=8"
			},
			"scripts": {
				"test": "xo && ava && tsd"
			},
			"keywords": [
				"detect",
				"docker",
				"dockerized",
				"container",
				"inside",
				"is",
				"env",
				"environment",
				"process"
			],
			"devDependencies": {
				"ava": "^1.4.1",
				"sinon": "^7.3.2",
				"tsd": "^0.7.2",
				"xo": "^0.24.0"
			},
			"gitHead": "e9df7a56a07125061981b7a5ca1c9d8c4fc8765e",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-docker/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-docker#readme",
			"_id": "is-docker@2.1.1",
			"_nodeVersion": "14.5.0",
			"_npmVersion": "6.14.5",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==",
				"shasum": "4125a88e44e450d384e09047ede71adc2d144156",
				"tarball": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz",
				"fileCount": 6,
				"unpackedSize": 3148,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKY/fCRA9TVsSAnZWagAAeJ8P/3/zEA28C/hthf3rNxEA\nt2M94QlJvNE5mOk9BKOT+4a/k2jg67DyoTQaAPFXNggHbf09sSYOF29WRIwN\nNvgx5PkF7s8OSMLQ5Rs47mSPPByT4C0hYXwDk5dDqjo/7uPur1lTy7mOhAGH\n9VgyURUPX8nnkuvwR9uhxrJh2ssD/l+6UU6FzLUvUkUD+rGy+ksSwkyeX/3N\nwAApcS9OXgxeJ2/mi3MBPQKJktTO3PUNNZ2JqB3KrWOhgcqbT827XfSuVlnl\nf1cbTeTBUMfMqmYpfpBEHDTamflBtr8DwlxLHdZMp2A4ZopOYH6ywgKV9DUV\nYPZfL+LDu/oVMiKSwhKmMSJ+DQDL0vyr7g1v1bqbJlEjTLLS7PgSlHIukuwN\nxyfZ/YfPBlqWtppGuC63Q4L4pQFfH1r+h+Kz1BySQc9Guz1paLeEpn+1rmnL\nn5f+VyBpLi3OYRWDm7gCpEzBLt7+oJA4l/ePRLt8TSD+HWvmbEVWBMfpqqHX\nKn63xJOgdlmjTFpFFWBOMzCO/rNwMFxSM38/HcTBP8VSvP5gNtc8HDlGIhg9\nHRChsju2kWtxWbflQep607zTwRvODqSPmIFw1pYvrfwwq0hyGZ8XCEnQDs/h\nHVgOn1q0VHGGokbm+94MeZVRh3nRGdEN8Iu4+SCQcD5ZpIMJRdfIljtC0hlI\nFi7G\r\n=indA\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/is-docker_2.1.1_1596559327162_0.06418938597862911"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2020-08-04T16:42:09.629Z",
		"created": "2015-04-08T07:09:24.685Z",
		"1.0.0": "2015-04-08T07:09:24.685Z",
		"1.0.1": "2016-05-18T07:14:39.690Z",
		"1.1.0": "2016-10-27T08:35:14.265Z",
		"2.0.0": "2019-04-19T13:09:47.492Z",
		"2.1.0": "2020-08-02T22:23:05.278Z",
		"2.1.1": "2020-08-04T16:42:07.327Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.1.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"3ad47395d4bd63f19b4ee0f5c1f9e119\"",
			"fetched": 1602009388184
		}
	},
	"_distfiles": {
		"is-docker-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-1.0.0.tgz",
			"sha": "31cbc0ae28b187c012986203254deb09f0ceb867",
			"registry": "npmjs"
		},
		"is-docker-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-1.0.1.tgz",
			"sha": "c02e215fc3d1d2ffe35a3b70d19f9d984693a4d8",
			"registry": "npmjs"
		},
		"is-docker-1.1.0.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-1.1.0.tgz",
			"sha": "f04374d4eee5310e9a8e113bf1495411e46176a1",
			"registry": "npmjs"
		},
		"is-docker-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-2.0.0.tgz",
			"sha": "2cb0df0e75e2d064fe1864c37cdeacb7b2dcf25b",
			"registry": "npmjs"
		},
		"is-docker-2.1.0.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.0.tgz",
			"sha": "25dc043e4fdc3cf969d622735e05a86ba9952e2b",
			"registry": "npmjs"
		},
		"is-docker-2.1.1.tgz": {
			"url": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz",
			"sha": "4125a88e44e450d384e09047ede71adc2d144156",
			"registry": "npmjs"
		}
	},
	"_attachments": {},
	"_rev": "12-3b8d9d967f5a21a5",
	"_id": "is-docker",
	"readme": "# is-docker [![Build Status](https://travis-ci.com/sindresorhus/is-docker.svg?branch=master)](https://travis-ci.com/github/sindresorhus/is-docker)\n\n> Check if the process is running inside a Docker container\n\n## Install\n\n```\n$ npm install is-docker\n```\n\n## Usage\n\n```js\nconst isDocker = require('is-docker');\n\nif (isDocker()) {\n\tconsole.log('Running inside a Docker container');\n}\n```\n\n## CLI\n\n```\n$ is-docker\n```\n\nExits with code 0 if inside a Docker container and 2 if not."
}