Skip to main content

devbox generate devcontainer

Generate Dockerfile and devcontainer.json files under .devcontainer/ directory

Synopsis

Generate Dockerfile and devcontainer.json files necessary to run VSCode in remote container environments.

devbox generate devcontainer [flags]

Options

OptionDescription
-f, --forceforce overwrite on existing files
--root-useruse root as the user for container. Installs nix as single-user mode in Dockerfile
-h, --helphelp for devcontainer
-q, --quietQuiet mode: Suppresses logs.

SEE ALSO