# Can I install discourse with docker in Debian?

**URL:** <https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2014 年 3 月 31 日午前 12:38 UTC](https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305 "2014-03-31T00:38:32Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2014 年 4 月 1 日午前 2:00 UTC](https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305/8 "2014-04-01T02:00:54Z")

</div>

You can get an updated kernel by using the debian-testing repository instead of stable.

If you want to _only_ pull in the kernel packages from debian-testing, add lines in your sources.list for testing as well as stable, then pin all packages to the stable release except for the linux-image packages:

```
/etc/apt/preferences.d/kernel:
Package: linux-image* linux-headers* initramfs-tools
Pin: release o=Debian,a=testing
Pin-Priority: 700

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 600

```

---

_[View the full topic](https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305)._
