This is a test to run a docker application orchestrated by nomad.
You need to have consul and nomad installed and running:
$ consul agent -dev
$ nomad agent -devInstall 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-appThe example here comes from the docker app repository.