NVIDIA / DIGITS

Deep Learning GPU Training System
https://developer.nvidia.com/digits
BSD 3-Clause "New" or "Revised" License
4.12k stars 1.38k forks source link

Error parsing reference: "ubuntu:14.04 As ubuntu" is not a valid repository/tag #1866

Open ricther opened 7 years ago

ricther commented 7 years ago

When I try to install digits with Dockerfile 6.0 with command: "nvidia-docker build ." I got the error message. "Error parsing reference: "ubuntu:14.04 as protobuf" is not a valid repository/tag"

If I remove the "as protobuf", the instruction is correct. what's the problem?

and I can run the digits directly when I use this command : "nvidia-docker run --name digits -d -p 5000:5000 nvidia/digits" my dockre version 1.10.3

gabriellmu commented 7 years ago

+1

thomas-riccardi commented 7 years ago

https://docs.docker.com/engine/userguide/eng-image/multistage-build/

Multi-stage builds are a new feature requiring Docker 17.05 or higher on the daemon and client.

Docker minimum version requirement should be documented on the README.

vetras commented 6 years ago

I'm getting a similar error when I run on git lab CI:

$ docker --version
Docker version 17.10.0-ce, build f4ffd25

$ docker build -t $DOCKER_IMAGE_NAME:$GitVersion_SemVer --build-arg PROJECT=$WEB_PROJECT --build-arg VERSION=$GitVersion_SemVer   .     
Sending build context to Docker daemon  933.9kB

Step 1/13 : FROM microsoft/aspnetcore-build:2.0 as builder
Error parsing reference: "microsoft/aspnetcore-build:2.0 as builder" is not a valid repository/tag: invalid reference format

But it works when I run locally, using the same dockerfile and all, but on docker on windows an "older" version:

$ docker --version
Docker version 17.09.0-ce, build afdb6d4