Skip to content

1.0 Latest

sha256:894fb04ebf9ad7e1aaf393bf49767160a9de91d8e28fc10d033429ed457c59e5
Add to your devcontainer.json
Learn more about Dev Container Features
"features": {
    "ghcr.io/stuartleeks/dev-container-features/add-host:1.0": {}
}

Loading

Manifest

{
  "digest": "sha256:894fb04ebf9ad7e1aaf393bf49767160a9de91d8e28fc10d033429ed457c59e5",
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "size": 1193,
  "config": {
    "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
    "mediaType": "application/vnd.devcontainers",
    "size": 2
  },
  "layers": [
    {
      "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
      "mediaType": "application/vnd.oci.empty.v1+json",
      "size": 2
    },
    {
      "digest": "sha256:4a294162383be318ab60864f9e63de717d5b68ea6af1ac30bca03909180c9637",
      "mediaType": "application/vnd.devcontainers.layer.v1+tar",
      "size": 9216
    }
  ],
  "labels": {
    "dev.containers.metadata": "{\"id\":\"add-host\",\"version\":\"1.0.3\",\"name\":\"Add Host\",\"description\":\"Add a hosts file entry in the dev container.\",\"documentationURL\":\"https://github.com/devcontainers/features/tree/main/src/add-host\",\"options\":{\"host_name\":{\"type\":\"string\",\"default\":\"host.docker.internal\",\"description\":\"Host name to add to the container's hosts file\"},\"host_ip\":{\"type\":\"string\",\"default\":\"\",\"description\":\"The IP Address to associate with the host name\"}},\"postStartCommand\":{\"azure-cli-persistence\":\"/usr/local/share/stuartleeks-devcontainer-features/add-host/scripts/poststart.sh\"}}",
    "com.github.package.type": "devcontainer_feature"
  }
}

Download activity

  • Total downloads 6,562
  • Last 30 days 778
  • Last week 273
  • Today 10

Other tags on this version