# Deploying docker application in different host

**URL:** https://forum.codewithmosh.com/t/deploying-docker-application-in-different-host/24840
**Category:** Docker
**Created:** [January 30, 2024, 7:30am UTC](https://forum.codewithmosh.com/t/deploying-docker-application-in-different-host/24840 "2024-01-30T07:30:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shankarkl](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@shankarkl](https://forum.codewithmosh.com/u/shankarkl)
#### Post date: [January 30, 2024, 7:30am UTC](https://forum.codewithmosh.com/t/deploying-docker-application-in-different-host/24840/1 "2024-01-30T07:30:03Z")

</div>

We have a DOT NET project setup with a docker container, now we need to deploy the application from Dev to Production.

The project contains multiple applications. Can anyone help me out with this?

---

<div class="post-metadata">

### Author: ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)
#### Post date: [February 17, 2024, 9:47am UTC](https://forum.codewithmosh.com/t/deploying-docker-application-in-different-host/24840/2 "2024-02-17T09:47:00Z")

</div>

Hi,  
You should use dockerfiles to the least.  
You should also use a registry to have your images available from the different environments you deal with. It would likely been docker hub but you can host your own on a Docker instance.

> **[How to Use Your Own Registry | Docker](https://www.docker.com/blog/how-to-use-your-own-registry-2/)**
>
> In this article we’ll take a look at setting up and configuring a local instance of the Distribution project where your teams can share images with docker commands they already know: docker push and docker pull.

Many providers (from cloud services) propose Docker registry services.

Ideally you have set a CI/CD pipeline

There are many technologies and providers. I let you do your own research on that.

Good luck
