question

SantoshV-3427 avatar image
0 Votes"
SantoshV-3427 asked

AKS with Azure DevOps

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-devtestlabs
aks.jpg (145.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers