So I'm trying to run Docker from the VS code plug in,
Trying to build a Docker image, to see if it works.
And I get this error message
Executing command:
docker run --rm -it -p 3000:3000/tcp -p 5000:5000/tcp ecommerce:latest
docker: Error response from daemon: driver failed programming external connectivity on endpoint clever_hermann (4c4b6a299257d59a8bad812ee498ecbe689a1e134492dfbb8d9da4dc2acfee35): Bind for 0.0.0.0:5000 failed: port is already allocated. The terminal process "/usr/bin/zsh '-c', 'docker run --rm -it -p 3000:3000/tcp -p 5000:5000/tcp ecommerce:latest'" terminated with exit code: 125.
This is my Dockerfile
FROM node:latest
RUN mkdir /app
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 3000
EXPOSE 5000
CMD [ "npm", "run", "dev" ]
Any clues on how to continue?