Skip to content

Conversation

sharkymark
Copy link
Contributor

Description

Type of Change

  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Template Information

I took the dev container Docker template added more detail in the README and a different default dev container repo that demonstrates how to use Coder's code-server dev container feature. It disables authentication and opens in the /workspaces directory where the dev container repo is cloned.

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally - in a coder server deployment on a mac with a Colima docker daemon

@Copilot Copilot AI review requested due to automatic review settings August 24, 2025 17:51
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@DevelopmentCats
Copy link
Contributor

DevelopmentCats commented Oct 1, 2025

@sharkymark I imported and exported your template and was trying to get it to build in coder as is, and It doesn't seem to be building at all for me.

This is what im getting:

cd registry/sharkymark/templates/docker-devcontainer && coder templates push sharkymark-devcontainer --directory . --org=coder --yes
version mismatch: client v2.24.2+0ead64f, server v2.26.0+a056cb6
download v2.26.0+a056cb6 with: 'curl -fsSL https://coder.chesher.xyz/install.sh | sh'
Provisioner tags: <none>
=== ✔ Queued [0ms]
==> ⧗ Running
==> ⧗ Running
=== ✔ Running [9ms]
==> ⧗ Setting up
=== ✔ Setting up [0ms]
==> ⧗ Parsing template parameters
=== ✔ Parsing template parameters [6ms]
==> ⧗ Detecting persistent resources
2025-10-01 16:03:10.605-05:00 Terraform 1.13.0
2025-10-01 16:03:10.606-05:00 Error: No configuration files
2025-10-01 16:03:10.606-05:00 Plan requires configuration to be present. Planning without a configuration would mark everything for destruction, which is normally not what is desired. If you would like to destroy everything, run plan with the -destroy option. Otherwise, create a Terraform configuration file (.tf file) and try again.
=== ✔ Detecting persistent resources [196ms]
==> ⧗ Cleaning Up
=== ✘ Cleaning Up [11ms]
=== ✘ Cleaning Up [36ms]
Encountered an error running "coder templates push", see "coder templates push --help" for more information
error: template import provision for start: terraform plan: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants