A repository of development container definitions for coajs
Learn more from: https://github.com/microsoft/vscode-dev-containers
Develop Node.js based applications. Includes Node.js, eslint, nvm, and yarn.
Metadata | Value |
---|---|
Definition type | Dockerfile |
Published image | ghcr.io/coajs/javascript-node |
Available image variants | 12 / 12-buster, 14 / 14-buster, 16 / 16-buster, 12-bullseye, 14-bullseye, 16-bullseye (full list) |
Published image architecture(s) | x86-64, arm64/aarch64 for bullseye variants |
See detail for information on the contents of published images and here for a complete list of available tags
Example of devcontainer.json
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "coajs",
"image": "ghrc.io/coajs/javascript-node",
"runArgs": ["--init"],
"remoteUser": "node",
"mounts": [
"source=container-share-cache,target=/usr/local/share/.cache,type=volume"
]
}
Learn more from:
- javascript-node: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/javascript-node
Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. UI-based commands executed from the built in VS code terminal will open on the desktop automatically.
Based on ghcr.io/coajs/javascript-node
See detail for information on the contents of published images and here for a complete list of available tags
Example of devcontainer.json
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "coajs",
"image": "ghrc.io/coajs/javascript-node-desktop",
"runArgs": ["--init", "--security-opt", "seccomp=unconfined"],
"forwardPorts": [6080, 5901],
"overrideCommand": false,
"mounts": [
"source=container-share-cache,target=/usr/local/share/.cache,type=volume"
]
}
Learn more from:
- desktop-lite: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/desktop-lite.md
Access your host's Docker install from inside a dev container. Installs Docker extension in the container along with needed CLIs.
Based on ghcr.io/coajs/javascript-node
See detail for information on the contents of published images and here for a complete list of available tags
Example of devcontainer.json
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "coajs",
"image": "ghrc.io/coajs/javascript-node-docker",
"runArgs": ["--init"],
"overrideCommand": false,
"mounts": [
"source=container-share-cache,target=/usr/local/share/.cache,type=volume",
"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
]
}
Learn more from: