Direct Docker Image Deploy Example

If you don’t have an image, but would like to try out Direct Docker Image Deploy, here’s an example:

Create an App

First, create a new app on Aptible.

Note the handle you gave to the app. Going forward in this article, we’ll refer to it as $APP_HANDLE.


Use the aptible deploy command to deploy a public Docker image to your app:

aptible deploy --app "$APP_HANDLE" \
        --docker-image httpd:alpine