Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Running an image - Proposal #287

Open
sajayantony opened this issue Sep 14, 2018 · 2 comments
Open

Enable Running an image - Proposal #287

sajayantony opened this issue Sep 14, 2018 · 2 comments
Assignees

Comments

@sajayantony
Copy link

sajayantony commented Sep 14, 2018

Acr tasks only allows running a task file from a context and we want to enable storing the task file running without a context.

There are 2 primary scenarios here

  1. Running a task with an image or encoded or stored file.
  2. Creating a Task with an image or encoded task file.

Running a task with an image

Description Command Notes
Running an image az acr run -t hello-world
Image with Args `az acr run --image bash echo "hello-world" Arguments follows image similar to docker run
Image with timeout az acr run --timeout 100 --cmd nginx run properties come before image args`

Creating a Task with an Image or task file without a Source or GIT context

Description Command Notes
Create a task without context az acr task create -f task.yaml --values --import Used to import values file from local context.
Create a task with an image az acr task create --image hello-world This can run an image against a and args as a file if needed.
@sajayantony sajayantony changed the title Enable Running an image Enable Running an image - Proposal Sep 14, 2018
@sajayantony
Copy link
Author

/cc @SteveLasker

@SteveLasker
Copy link

I really like the acr run —cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants