# Is it possible to run Docker install locally?

**URL:** https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614
**Category:** Support
**Created:** [15.Апрель.2016 13:50:38 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614 "2016-04-15T13:50:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vfortier](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vfortier](https://meta.discourse.org/u/vfortier)
#### Post date: [15.Апрель.2016 13:50:38 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/1 "2016-04-15T13:50:38Z")

</div>

The title basically says it all. I do not have a domain for the moment so I would like to run the Docker install locally.

Why can’t I just run the Vagrant install locally as suggested by [this post](https://meta.discourse.org/t/can-discourse-be-installed-on-a-local-host-i-dont-possess-any-domain-at-this-time/13502/2)? It’s because I want to be able to send posts on my Discourse deployment from another application (in Javascript). As far as I know, in order to do that, I need to enable Cross-Origin Resource Sharing by [modifying some settings](https://meta.discourse.org/t/how-to-enable-cross-origin-resource-sharing-with-docker/15413/3) in _app.yml_. The problem: the Vagrant install doesn’t have an _app.yml_. (Let me know if I made some false assumptions here).

Also, if you know how I could send posts from my Javascript application to a Vagrant Discourse install, that would also solve my problem 🕶

Note: I don’t want to develop Discourse.

Thanks!

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15.Апрель.2016 14:35:46 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/2 "2016-04-15T14:35:46Z")

</div>

You don’t need a domain to have a working Discourse. You can use the IP address of your server if you want.

---

<div class="post-metadata">

### Author: ![vfortier](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vfortier](https://meta.discourse.org/u/vfortier)
#### Post date: [15.Апрель.2016 14:50:45 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/3 "2016-04-15T14:50:45Z")

</div>

Do I need to have a server on DigitalOcean? Or I can use localhost?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15.Апрель.2016 14:59:20 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/4 "2016-04-15T14:59:20Z")

</div>

You should be able to run it locally.

To reply to your other question

> [@vfortier](#):
>
> I want to be able to send posts on my Discourse deployment from another application (in Javascript). As far as I know, in order to do that, I need to enable Cross-Origin Resource Sharing

You only need to enable CORS if the javascript you’re talking about is running on the **client-side** (ie. in your user’s browser). If it’s running on the **server** (probably using nodejs), you can just use the API 😉

---

<div class="post-metadata">

### Author: ![vfortier](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vfortier](https://meta.discourse.org/u/vfortier)
#### Post date: [15.Апрель.2016 15:02:56 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/5 "2016-04-15T15:02:56Z")

</div>

Thanks for your answer! 😀 Yes my javascript is running on the client-side. I’ll try to setup the Docker install locally then.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [08.Июнь.2024 12:45:46 UTC](https://meta.discourse.org/t/is-it-possible-to-run-docker-install-locally/42614/6 "2024-06-08T12:45:46Z")

</div>

Эта тема была автоматически закрыта через 2975 дней. Новые ответы больше не принимаются.
