development container
A container image holding a project's tools, which an editor such as Visual Studio Code reopens the project folder inside, so its terminal and tools run there.
In more detail
A file named devcontainer.json in a .devcontainer folder names the image. For Ansible, an image such as the community ansible-dev-tools image carries ansible-core, ansible-lint, ansible-navigator and common collections, so linting and runs match the exam setup. VS Code's Dev Containers extension offers to reopen the folder in the container.
Example
.devcontainer/devcontainer.jsonRelated terms
- Visual Studio Code — A free, widely used code editor from Microsoft that becomes a full IDE for many languages through extensions.
- container — A running program that has been fenced off from the rest of the computer so it only sees its own files, network and processes.
- ansible-navigator — Red Hat's command-line tool that runs playbooks inside an execution environment container image and lets you browse plays, tasks and results interactively.
Taught in
- Graded On A Machine You Never Touched — RHCE in Ansible (EX294): Automate Red Hat Systems
- Git And VS Code: Clone, Commit, Push, And The Dev Container — RHCE in Ansible (EX294): Automate Red Hat Systems