# Developing Discourse using a Dev Container

**URL:** <https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366>\
**Category:** Developer Guides\
**Created:** [2024 年11 月 15 日 16:44 UTC](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366 "2024-11-15T16:44:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
发布日期： [2025 年3 月 4 日 20:16 UTC](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366/3 "2025-03-04T20:16:02Z")

</div>

在 Windows 11 上，如果你不想遇到行尾符问题，例如：

```plaintext
[23963 ms] Start: Run in container: /bin/sh -c ./.devcontainer/scripts/start.rb
/usr/bin/env: ‘ruby\r’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

```

..请确保 \u003ckbd\u003e在卷中克隆\u003c/kbd\u003e

 ![Code_IKydlULXhL](https://global.discourse-cdn.com/meta/original/4X/7/1/4/7141ad1def5567957a81d903b90d53fa4868542f.png)

---

_[View the full topic](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366)._
