{"id":16216214,"url":"https://github.com/matthewhartstonge/node-docker","last_synced_at":"2026-05-05T04:33:24.152Z","repository":{"id":78383904,"uuid":"70744185","full_name":"matthewhartstonge/node-docker","owner":"matthewhartstonge","description":"Node + Docker for CI/CD","archived":false,"fork":false,"pushed_at":"2018-06-19T11:38:51.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"development","last_synced_at":"2025-02-14T00:16:46.541Z","etag":null,"topics":["docker","docker-engine","docker-image","dockerfile","dockerhub","node-docker","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthewhartstonge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T21:43:16.000Z","updated_at":"2018-06-19T11:38:52.000Z","dependencies_parsed_at":"2023-03-29T01:18:14.505Z","dependency_job_id":null,"html_url":"https://github.com/matthewhartstonge/node-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewhartstonge%2Fnode-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewhartstonge%2Fnode-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewhartstonge%2Fnode-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewhartstonge%2Fnode-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewhartstonge","download_url":"https://codeload.github.com/matthewhartstonge/node-docker/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744283,"owners_count":20988781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-engine","docker-image","dockerfile","dockerhub","node-docker","nodejs"],"created_at":"2024-10-10T11:18:47.088Z","updated_at":"2025-10-14T18:38:17.589Z","avatar_url":"https://github.com/matthewhartstonge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node+docker\n\nNode+Docker includes Node and the docker-engine to ease CI/CD by enabling the \nworking with the an external/mapped docker host for building Docker images.\n\nPlease note: This container does not set out to be secure, it sets out to be\nusable as a tool in a self-contained private CI/CD setting.\n\n## Docker tags\nThe Docker tag is in the format: `node${NODE_VERSION}-docker${DOCKER_VERSION}` \nwhere node version and the docker version is replaced with one of the following\nversions:  \n\n| app       | supported versions         |\n|-----------|----------------------------|\n| node      | `6`, `8`, `9`, `10`        |\n| docker    | `1.5.0`, `1.6.0`, `1.6.1`, `1.6.2`, `1.7.0`, `1.7.1`, `1.8.0`, `1.8.1`, `1.8.2`, `1.8.3`, `1.9.0`, `1.9.1`, `1.10.0`, `1.10.1`, `1.10.2`, `1.10.3`, `1.11.0`, `1.11.1`, `1.11.2`, `1.12.0`, `1.12.1`, `1.12.2`, `1.12.3`, `1.12.4`, `1.12.5`, `1.12.6`, `1.13.0`, `1.13.1` |\n| docker-ce | `17.03.0ce`, `17.03.1ce`, `17.04.0ce`, `17.05.0ce` |\n\nIf you are after a specific Dockerfile, you can view the [Github Repo](https://github.com/matthewhartstonge/node-docker), \nwhere each version tag has been pushed to a separate branch.\n\n### Example\n\nSay I want, Node 8 with Docker CE 17.03, you would run:\n```sh\ndocker pull matthewhartstonge/node-docker:node8-docker17.03.1ce\n```\n\n## Quickstart\nSince this image is based on dockerhub's [node](https://hub.docker.com/r/_/node/),\nall actions follow through on this container, with the exception of the \naddition of the docker-engine.\n\nThe underlying OS is debian:jessie. \n\nTo get access to your host, simply map the docker socket into the container on\nstartup.\n\n```sh\ndocker run -it \\\n    -v \"/var/run/docker.sock:/var/run/docker.sock\"\n    matthewhartstonge/node-docker\n    docker ps\n```\n\n## Development\nEach node/docker version is split out into a separate branch. Please feel free \nto add Pull Requests to add the different versions you use as a token of thanks\nand also to give back to the community. \n\n### Node build tools\nFor those that are using anything that requires node-gyp (SASS, argon2 e.t.c.)\nthe build tools (g++, make and python) are now included.\n\n## Deployment\nSimply pull your required version from dockerhub\n\n```sh\ndocker pull matthewhartstonge/node-docker\n```\n\n## Testing\nTo use CI testing with this image, depending on how your CI environment works, \nthe simplest way to do this is to add an NPM script that can run. \n\nFor example, using Mocha, in package.json:\n\n```\n...\n  },\n  \"scripts\": {\n    \"start\": \"node app.js\",\n    \"test\": \"node ./node_modules/mocha/bin/mocha test/**/*.test.js\"\n  },\n...\n```\n\nThen in your .drone, .jenkinsfile, .whatever add:\n\n```yml\nscript:\n  - npm run test \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewhartstonge%2Fnode-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewhartstonge%2Fnode-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewhartstonge%2Fnode-docker/lists"}