-
Build the image
docker build --rm -t thesaintzion/employees:latest .
-
Confirm the image it there
docker image ls | grep employees
-
Crete a container from the Image docker create --name employees thesaintzion/employees
docker run --name employees --rm -p 5000:5000 -p 5001:5001 -e ASPNETCORE_HTTP_PORT=https://+:5001 -e ASPNETCORE_URLS=http://+:5000 thesaintzion/employees
-
Confirm the container is there
docker ps -a
-
Start the container
docker start employees