Skip to content

demonus/docker-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Docker Utils

Tools and Utils for Docker and Amazon ECS (EC2 Container Service).

run-local-task.py

This tool converts an ECS Task Definition into a docker run command. It supports all available options in Task Definition except volumesFrom. All settings will be converted to appropriate docker run arguments.

Command line:

run-local-task.py [--profile AWS_CREDENTIALS_PROFILE] [--container CONTAINER_DEFINITION_NAME] TASK_DEFINITION_NAME

--profile name of the AWS credentials profile from ~/.aws/credentials file. If not set, default profile will be used. More about the profile configuration can be found here: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files

--container the tool will pickup first container in the Task Definition. If a Task Definition has more than one container defined, container name should be specified.

TASK_DEFINITION_NAME can be either a name or an ARN. If the revision number is not provided, latest active revision will be used.

About

Tools and Utils for Docker and Amazon ECS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages