Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1008 Bytes

File metadata and controls

31 lines (20 loc) · 1008 Bytes

Add Host (add-host)

Add a hosts file entry in the dev container.

Example Usage

"features": {
    "ghcr.io/stuartleeks/dev-container-features/add-host:1": {}
}

Options

Options Id Description Type Default Value
host_name Host name to add to the container's hosts file string host.docker.internal
host_ip The IP Address to associate with the host name string -

Changelog

Version Notes
1.0.3 Handle no sudo, switch to poststart script
1.0.1 Initial version

Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.