OpenShift is a unified platform to build, modernize, and deploy applications at scale
Example Usage
"features": { "ghcr.io/paul-gilber/devcontainer-features/openshift-cli-homebrew:1": {} }
Options
| Options Id | Description | Type | Default Value |
|---|---|---|---|
| version | Select the version to install. | string | latest |
Connecting to OpenShift Local
Red Hat OpenShift Local is the quickest way to get started building OpenShift clusters. It is designed to run on a local computer to simplify setup and testing, and to emulate the cloud development environment locally with all of the tools needed to develop container-based applications.
Prerequisites:
Steps:
- Use
Kubernetes - Local Configurationdevcontainer profile to automatically copy localhost~/.kube/configto the devcontainer - Create
.devcontainer/compose.yaml
# .devcontainer/compose.yaml --- services: devcontainer: image: mcr.microsoft.com/devcontainers/base:bullseye volumes: - ../..:/workspaces:cached command: sleep infinity extra_hosts: - "api.crc.testing:host-gateway" # forwards api.crc.testing to docker host gateway
- Update
.devcontainer/devcontainer.json
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.