Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Unable to install git in centos cuda images under nvidia runtime #562

@borispf

Description

@borispf

1. Issue or feature description

Unable to install git using yum under the nvidia/cuda:9.0-base-centos7 image when using the nvidia runtime.

2. Steps to reproduce the issue

$ docker run --runtime=nvidia --rm nvidia/cuda:9.0-base-centos7 bash -c "yum install -y git"
<snip>
  Installing : git-1.8.3.1-12.el7_4.x86_64                                40/40 
error: unpacking of archive failed on file /usr/bin/git;5a26cdec: cpio: link
<snip>
Failed:
  git.x86_64 0:1.8.3.1-12.el7_4                                                 

Complete!

This works fine:

docker run --runtime=runc --rm nvidia/cuda:9.0-base-centos7 bash -c "yum install -y git"

3. Information to attach (optional if deemed irrelevant)

  • Kernel version from uname -a
Linux <hostname omitted> 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Any relevant kernel output lines from dmesg
    No idea what would be relevant.
  • Driver information from nvidia-smi -a
==============NVSMI LOG==============

Timestamp                           : Tue Dec  5 17:32:50 2017
Driver Version                      : 384.81

Attached GPUs                       : 1
GPU 00000000:03:00.0
    Product Name                    : Tesla P100-PCIE-16GB
    Product Brand                   : Tesla

<snip>
  • Docker version from docker version
Client:
 Version:      17.09.0-ce
 API version:  1.32
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:41:23 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:42:49 2017
 OS/Arch:      linux/amd64
 Experimental: false
  • NVIDIA packages version from dpkg -l '*nvidia*' or rpm -qa '*nvidia*'
nvidia-docker2-2.0.1-1.docker17.09.0.ce.noarch
nvidia-kmod-384.81-2.el7.x86_64
xorg-x11-drv-nvidia-devel-384.81-1.el7.x86_64
libnvidia-container1-1.0.0-0.1.alpha.2.x86_64
nvidia-container-runtime-1.1.0-1.docker17.09.0.x86_64
xorg-x11-drv-nvidia-384.81-1.el7.x86_64
xorg-x11-drv-nvidia-gl-384.81-1.el7.x86_64
libnvidia-container-tools-1.0.0-0.1.alpha.2.x86_64
xorg-x11-drv-nvidia-libs-384.81-1.el7.x86_64
  • NVIDIA container library version from nvidia-container-cli -V
version: 1.0.0
build date: 2017-10-31T00:28+0000
build revision: ec15c7233bd2de821ad5127cb0de6b52d9d2083c
build compiler: gcc 4.8.5 20150623 (Red Hat 4.8.5-16)
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections

nvidia-container-runtime-hook.log

  • Docker command, image and tag used
    See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions