Skip to content

docker dev container template with a default flask app and code-server feature#377

Closed
sharkymark wants to merge 7 commits intocoder:mainfrom
sharkymark:mm/devcontainer-cli-template
Closed

docker dev container template with a default flask app and code-server feature#377
sharkymark wants to merge 7 commits intocoder:mainfrom
sharkymark:mm/devcontainer-cli-template

Conversation

@sharkymark
Copy link
Copy Markdown
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 AI review requested due to automatic review settings August 24, 2025 17:51
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

@sharkymark I was able to get the workspace to build. I might have been having problems with my deployment before.

The only issue I see is that the workspace hangs here if run as is.

Creating directory /home/coder/flask-commissions...
Cloning https://github.com/sharkymark/flask-commissions.git to /home/coder/flask-commissions...
Installing @devcontainers/cli using yarn...
/etc/init.d/docker: 69: ulimit: error setting limit (Operation not permitted)
Cloning into '/home/coder/flask-commissions'...
yarn global v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "@devcontainers/cli@0.80.1" with binaries:
      - devcontainer
Done in 0.59s.
🥳 @devcontainers/cli has been installed into /tmp/coder-script-data/bin/devcontainer!
@devcontainers/cli 0.80.1. Node.js v22.20.0. linux 6.8.4-3-pve x64.

@DevelopmentCats
Copy link
Copy Markdown
Collaborator

@sharkymark Im closing this due to no activity, but if you would like me to re-open please tag me and we can get this finished up.

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.

3 participants