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.

Prerequisites

Before you begin, ensure you have:
  • A Miget account at 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:
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

1

Create a new app

Navigate to 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.
2

Configure builder and size

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.
3

Select deploy method

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.
4

Get your Git token

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
5

Add Miget as a Git remote

Configure your local repository to push to Miget:
git remote add miget https://git.<region>.miget.io/<your-miget-name>/<app-name>
Replace the placeholders:
  • <region> - Your Miget region code
  • <your-miget-name> - Your compute resource name
  • <app-name> - Your application name
Find the exact command in the Deploy via git section of your app dashboard.
6

Push your code

Deploy your application by pushing to Miget:
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