--- title: "Deploy a Docker App" description: "Learn how to deploy containerized applications using Docker and Dockerfile on Miget" --- Deploy your containerized applications on Miget using Docker Engine. Miget provides native support for running Docker containers at scale with Kubernetes orchestration. View a live demo at [dockerfile.onmiget.com](https://dockerfile.onmiget.com). ## Prerequisites Before you begin, ensure you have: - A Miget account at [app.miget.com](https://app.miget.com) - Git installed on your local machine - A Dockerfile in your application repository - Basic familiarity with Docker and command line operations ## Prepare Your Application Clone the sample Docker application to your local machine: ```bash git clone https://github.com/migetapp/dockerfile-hello-world.git cd dockerfile-hello-world ``` You can use your own application with a Dockerfile. Miget supports any valid Dockerfile configuration. ## Create and Deploy Your App Navigate to [app.miget.com](https://app.miget.com) and click the **New** button, then select **Application**. Create new app In the *Create new App* window: 1. Enter your **App Name** 2. Select the **resource** where you want to deploy 3. Click **Next** Miget automatically appends a unique suffix to your app name (e.g., `example-1jgiq`) to ensure uniqueness. Configure your app's build and runtime settings: Configure builder and size 1. Select **Docker Engine** as the builder type 2. Choose a predefined size or specify custom resources 3. Click **Next** Custom size configuration Leave the defaults to keep Fair Scheduler enabled for optimal resource allocation. Choose how you want to deploy your application: Select deploy method 1. Select **git push** as the deploy method 2. Click **Create** Currently, `git push` is the only supported deploy method. You're redirected to the app overview screen. Your app space (ingress, build context) is being created in the background. You need a Git token to push your code to Miget. Deploy via git commands 1. Click the **Deploy via git** button 2. Click **See the token** button 3. Copy your token - Your Miget name is the default username for Git - The token is your password - Revoking the default token prevents deployments - Custom tokens use the token name as the username Configure your local repository to push to Miget: ```bash git remote add miget https://git..miget.io// ``` Replace the placeholders: - `` - Your Miget region code - `` - Your compute resource name - `` - Your application name Find the exact command in the **Deploy via git** section of your app dashboard. Deploy your application by pushing to Miget: ```bash git push miget ``` Miget automatically: 1. Detects your Dockerfile 2. Builds the Docker image 3. Pushes to Miget's registry 4. Deploys to Kubernetes 5. Provides a public URL Your app is live at the URL displayed in the deployment output. ## Next Steps Set up a custom domain for your application Configure secrets and environment variables