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

flag provided but not defined: --build-arg #54

Closed
zcyang opened this issue Feb 23, 2016 · 3 comments
Closed

flag provided but not defined: --build-arg #54

zcyang opened this issue Feb 23, 2016 · 3 comments

Comments

@zcyang
Copy link

zcyang commented Feb 23, 2016

$ make install
make -C /home/zichaoy/nvidia-docker/tools install
make[1]: Entering directory `/home/zichaoy/nvidia-docker/tools'
flag provided but not defined: --build-arg
See 'docker build --help'.
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/zichaoy/nvidia-docker/tools'
make: *** [install] Error 2

I am using

$ lsb_release -a
LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.7 (Final)
Release:    6.7
Codename:   Final
$ docker --version
Docker version 1.7.1, build 786b29d
@flx42
Copy link
Member

flx42 commented Feb 23, 2016

Ah, --build-arg was added in Docker 1.9.
And unfortunately CentOS 6.7 is not officially supported anymore by Docker.

So I'm not sure you will be able to update to a newer version of Docker.

@zcyang
Copy link
Author

zcyang commented Feb 23, 2016

yeah, Docker 1.9 requires at least Centos 7...

@3XX0
Copy link
Member

3XX0 commented Feb 24, 2016

Docker itself requires Centos 7 (see here).
nvidia-docker requires Docker 1.9 for handling the volumes

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

No branches or pull requests

3 participants