Sign inSign up

actionml/consul-task

By actionml

•Updated over 9 years ago

Consul Task container - various tools for consul

Image
0

437

actionml/consul-task repository overview

⁠Usage

docker run --rm --net=host -t -v /path/to/task:/config -v /path/to/.ssh:/ssh actionml/consul-task ./mytask.sh

The bellow is started on management machine (cron):

docker run --rm --net=host -t -v /home/aml/scheduled-train:/config -v /home/aml/.ssh:/ssh actionml/consul-task ./train_and_clean.sh
  • Task config volume must contain .aws directory with required credentials for running aws cli commands
  • Ssh volume must contain ssh keys to enable remote execution
  • mytask.sh is supposed to be in the config volume

Tag summary

Content type

Image

Digest

Size

56.4 MB

Last updated

over 9 years ago

docker pull actionml/consul-task