AKS with Azure DevOps
Hi
I have created AKS via Azure DevOps starter with below details
- Node JS
- Frame work: Express.JS
- 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"]