https://pulumi.com logo
Title
h

high-hamburger-69207

03/11/2023, 12:26 PM
Hey, I need some help!! • I am using
import * as awsx from "@pulumi/awsx";
• I am trying to build and push a dockerimage to ecr.
Pulumi code
const image = new awsx.ecr.Image("image", {
  repositoryUrl: repository.url,
  path: "./nodeapp/",
});
• The
./nodeapp
is in same root directory, and the dockerfile looks likes this:
FROM node:16
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD [ "node", "index.js" ]
Error: Unhandled exception: Error: failed to register new resource image [awsx:ecr:Image]: 2 UNKNOWN: No 'docker' command available on PATH: Please install to use container 'build' mode.
s

steep-toddler-94095

03/11/2023, 5:54 PM
Do you have docker CLI installed locally?