Azure-Samples/Serverless-microservices-reference-architecture

docker images used by azure-functions-dotnet-core2.0 are outdated

Closed this issue · 1 comments

@khaledhikmat, When I was trying to run dockerfiles it shows error as below on both arm64 and amd64 architectures.

ubuntu@ip-172-31-19-230:~Serverless-microservices-reference-architecture/dotnet/dockerfiles$  sudo docker build -t dotent:drivers -f drivers . 
[+] Building 0.2s (4/4) FINISHED 
=> [internal] load build definition from drivers                                                                                                                                          0.0s 
=> => transferring dockerfile: 195B                                                                                                                                                       0.0s 
=> [internal] load .dockerignore                                                                                                                                                          0.0s 
=> => transferring context: 2B                                                                                                                                                            0.0s 
=> ERROR [internal] load metadata for docker.io/microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha                                                                                 0.2s 
=> [auth] microsoft/azure-functions-dotnet-core2.0:pull token for registry-1.docker.io                                                                                                    0.0s 
------ 
> [internal] load metadata for docker.io/microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha: 
------ 
drivers:1 
-------------------- 
   1 | >>> FROM microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha 
   2 | 
   3 |     COPY ./ServerlessMicroservices.FunctionApp.Drivers/bin/Debug/netstandard2.0 /home/site/wwwroot 
-------------------- 
ERROR: failed to solve: microsoft/azure-functions-dotnet-core2.0:v2.0.11961-alpha: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

I have tried to check this docker image microsoft/azure-functions-dotnet-core2.0 on docker hub, but it does not show any result for the image.

Kindly share your feedback regarding this. I will be happy to contribute if required.

Sorry, It is Duplicate of #102