Bug #10514

[crunch-job] use docker instead of docker.io

Added by Nico C├ęsar over 2 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
11/10/2016
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

after 1.9.1 default should be "docker" not "docker.io" for sdk/cli/bin/crunch-run, my proposed patch is:

diff -ua crunch-job crunch-job.new 
--- crunch-job  2016-10-25 10:39:23.284301732 -0400
+++ crunch-job.new      2016-11-10 17:20:45.050062341 -0500
@@ -127,7 +127,7 @@
 my $no_clear_tmp;
 my $resume_stash;
 my $cgroup_root = "/sys/fs/cgroup";
-my $docker_bin = "docker.io";
+my $docker_bin = "docker";
 my $docker_run_args = "";
 GetOptions('force-unlock' => \$force_unlock,
            'git-dir=s' => \$git_dir,

in systems where both binaries are available (legacy installations remain with the old docker.io) but the system is a modern one, it should take docker as the default one.

History

#1 Updated by Tom Morris almost 2 years ago

  • Target version set to Arvados Future Sprints

#2 Updated by Peter Amstutz 10 months ago

  • Subject changed from [crunch-run] use docker instead of docker.io to [crunch-job] use docker instead of docker.io

Also available in: Atom PDF