Project

General

Profile

Actions

Feature #7868

closed

[Crunch] Allow site admin to add arbitrary arguments to all "docker run" commands

Added by Tom Clegg over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Description

Background

The motivating use case is adding a --volume argument to modify the list of trusted certificate authorities trusted by Crunch jobs running in containers. This makes it possible to use a self-signed certificate for the API server, without having to customize the docker images being used.

Proposed feature

If an environment variable CRUNCH_JOB_DOCKER_RUN_ARGS is added to the crunch-dispatch run script, this should be propagated to crunch-job much like CRUNCH_JOB_DOCKER_BIN is now. Crunch-job should include this every time it uses docker run.


Subtasks 2 (0 open2 closed)

Task #7920: Add bits to crunch-job and crunch_dispatch.rbResolvedTom Clegg12/02/2015Actions
Task #7912: Review 7868-docker-run-argsResolvedPeter Amstutz12/02/2015Actions
Actions

Also available in: Atom PDF