AKS with Azure DevOps

Santosh V 6 Reputation points
2021-10-28T13:30:21.377+00:00

Hi

I have created AKS via Azure DevOps starter with below details

  1. Node JS
  2. Frame work: Express.JS
  3. Service: K8s

But CI has failed in Build Image (step) with below details

"C:\Program Files\Docker\docker.exe" pull node:16
no matching manifest for windows/amd64 10.0.20348 in the manifest list entries
16: Pulling from library/node
"C:\Program Files\Docker\docker.exe" inspect node:16
Error: No such object: node:16
"C:\Program Files\Docker\docker.exe" build -f D:\a\1\s\Application\Dockerfile --label com.azure.dev.image.system.teamfoundationcollectionuri=https://dev.azure.com/santoshepm/ --label com.azure.dev.image.build.sourceversion=bf1e208f76a05ccb42af0c159066689c34ed8579 --label com.azure.dev.image.system.teamfoundationcollectionuri=
Sending build context to Docker daemon 1.21MB

Step 1/12 : FROM node:16
16: Pulling from library/node
no matching manifest for windows/amd64 10.0.20348 in the manifest list entries

[error]The process 'C:\Program Files\Docker\docker.exe' failed with exit code 1

Docker file for your reference

===================

FROM node:8 --> tried 8 and 16
LABEL maintainer="Azure App Services Container Images <appsvc-images@microsoft.com>"

ENV PORT 8080
EXPOSE 8080

Create app directory

WORKDIR /app
COPY package.json .

Install app dependencies

RUN npm install

Bundle app source

COPY . .

CMD ["npm", "start"]

144612-aks.jpg

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
284 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.