Skip to content

rumpl/nomad-invoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nomad-invoc

This is a test to run a docker application orchestrated by nomad.

Prerequisites

You need to have consul and nomad installed and running:

$ consul agent -dev
$ nomad agent -dev

Install docker app (comes bundled with Docker Desktop)

You must change the base invocation image for docker app, in ~/.docker/config.json add this:

"plugins": {
    "app": {
        "base-invocation-image": "nomad-invoc"
    }
}

You can then make the image with make: make invocation-image.

With all that setup, you can now use docker app to install an image:

$ docker app build examples/hello-world -t my-app
$ docker app run my-app --name my-app

The example here comes from the docker app repository.

About

Docker App invocation image to deploy to nomad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors