35C4n0r e8e3a4e642
feat(cmd/tests): update tests to fail on invalid and absolute urls (#639)
## Description
Updated the tests:
- We now don't accept absolute urls (http / https)
- We only accept urls that start with `../../../../.icons/*` and exists

<!-- Briefly describe what this PR does and why -->

## Type of Change

- [ ] New module
- [ ] New template
- [x] Bug fix
- [ ] Feature/enhancement
- [ ] Documentation
- [ ] Other

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [x] Changes tested locally

---------

Co-authored-by: DevCats <christofer@coder.com>
2026-01-08 08:13:16 -06:00

28 lines
516 B
Markdown

---
display_name: "Docker Container"
description: "Develop in a container on a Docker host"
icon: "https://github.com/coder/registry/pull/599.jpeg"
verified: true
tags: ["docker", "container"]
supported_os: ["linux", "macos"]
---
# Docker Container
Develop in a Docker container on a remote Docker host.
```tf
terraform {
required_providers {
coder = {
source = "coder/coder"
version = "~> 1.0"
}
docker = {
source = "kreuzwerker/docker"
version = "~> 3.0"
}
}
}
```