Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 397 forks source link

draft create on dotnet core web api cannot run generated Dockerfile #919

Open DaleBingham opened 5 years ago

DaleBingham commented 5 years ago

I ran "draft create --pack=csharp" and then "draft up" and it fails on the Dockerfile used, which seem like a valid Dockerfile. I have several just like it. The output is below from the logs.

Step 1/14 : FROM microsoft/dotnet:2.1-sdk AS builder
2018/12/26 15:42:30 error while building: Error parsing reference: "microsoft/dotnet:2.1-sdk AS builder" is not a valid repository/tag: invalid reference format
DaleBingham commented 5 years ago

I am running Minishift 3.11 on MAC OSX latest.

And I can run "docker pull microsoft/dotnet:2.1-sdk"

bacongobbler commented 5 years ago

What is the output of docker version?

DaleBingham commented 5 years ago

Client: Docker Engine - Community Version: 18.09.0 API version: 1.39 Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:47:43 2018 OS/Arch: darwin/amd64 Experimental: false

Server: Docker Engine - Community Engine: Version: 18.09.0 API version: 1.39 (minimum version 1.12) Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:55:00 2018 OS/Arch: linux/amd64 Experimental: true

DaleBingham commented 5 years ago

I am on a Mac OS X latest updates