Project

General

Profile

Actions

Bug #10514

open

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

Added by Nico César over 7 years ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

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.

Actions

Also available in: Atom PDF