You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Zhitao Li (JIRA)" <ji...@apache.org> on 2015/12/08 23:24:11 UTC

[jira] [Commented] (AURORA-1444) Use docker entrypoint or supplied cmdline

    [ https://issues.apache.org/jira/browse/AURORA-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047587#comment-15047587 ] 

Zhitao Li commented on AURORA-1444:
-----------------------------------

Additionally, I'd also prefer Aurora executor (thermos) to respect environment variables/work dir/other runtime configurations in Docker world, otherwise we need to keep repeating the environment variables on all processes inside the task.

> Use docker entrypoint or supplied cmdline 
> ------------------------------------------
>
>                 Key: AURORA-1444
>                 URL: https://issues.apache.org/jira/browse/AURORA-1444
>             Project: Aurora
>          Issue Type: Story
>          Components: Usability
>            Reporter: Christopher M Luciano
>
> As an Aurora user, I would like to be able to pull a docker container, run with constraints, and rely on the dockerfile entrypoint or supplied commands to run. 
> At the moment all jobs must supply a cmdline flag, even for docker containers.
> Example:
> {noformat}
> mycontainer = Task(
>   name = 'container task',
>   resources = Resources(cpu = 0.1, ram = 32*MB, disk=8*MB))
> jobs = [
>   Service(cluster = 'devcluster',
>           environment = 'devel',
>           role = 'web-server',
>           name = 'mycontainerjob',
>           container = Container(docker = Docker(image = 'myimage:theimagetag')))]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)