ilo devcontainer
The devcontainer command allows interacting with devcontainers as used by Visual Studio Code, GitHub Codespaces, and a growing list of other tools.
Make sure to specify your.image.here:some-tag as the image in your devcontainer.json file. Take a look at the reference documentation for all available options for that JSON file.
# open shell in devcontainer
[you@hostname project-dir]$ ilo devcontainer
[root@container project-dir]#
ilo will automatically try the following locations for your devcontainer.json file relative to your current directory:
.devcontainer/devcontainer.json.devcontainer.json
In case you want to load/use a different location for your devconatiner.json file, specify one or more locations like this:
# use custom locations
[you@hostname project-dir]$ ilo devcontainer some-where-local.json /an/absolute/path/appears.json
The first location that actually exists and can be read by the current user will be used.
Take a look at all available options or use ilo devcontainer --help to get a list of all options, and their default values. In order to simplify handling of long command line options, consider using argument files.
Pages
- Options