EVENT_HANDLER=<script to handle events> HANDLER_DIR=
docker service create --name nomad -p 4646:4646 -e NETWORK="10.0.1.[0-9]+" -e SERVICE=nomad -e CLUSTER=nomad --network serf --replicas 3 jmcarbo/docker-swarm-nomad:latest docker service create --name nomadworker -e NETWORK="10.0.1.[0-9]+" -e SERVER=nomad --mount "type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock" -e SERVICE=nomadworker -e CLUSTER=nomadworker --network serf -e WORKER=true --replicas 3 jmcarbo/docker-swarm-nomad:latest