skip to Main Content

How do I execute a docker container

I created the images locally and created one repository in DockerHub called testName/backend. The docker images command shows the created images. REPOSITORY TAG IMAGE ID CREATED SIZE testName/backend 0.0.1-SNAPSHOT 10fc47e065ff 25 minutes ago 459MB backend 0.0.1-SNAPSHOT 10fc47e065ff 25 minutes ago…

VIEW QUESTION

Run docker image without specifying port

I have a node project and it has Dockerfile and docker-compose.yml as well. Dockerfile FROM node:lts-alpine as build-stage WORKDIR /app COPY package*.json ./ RUN npm install COPY . . RUN npm run build FROM nginx:stable-alpine as production-stage COPY --from=build-stage /app/dist…

VIEW QUESTION
Back To Top
Search