Wednesday, February 19, 2020

Dockerfile: Image using multiple base images

A sample app:
git clone https://github.com/ManojNair/letskube
cd letskube
dotnet run 
chrome: localhost:5000/

Let's dockerize this








docker build . -t letskube:local
docker imagelist | select First 2
docker run -d -p 5000:80 letskube:local
docker ps

start microsoft-edge:http://localhost:5000


docker container rm -f $(docker ps -aq)

No comments:

Post a Comment