Skip to main content

Docker

 1. docker run --rm -it microsoft/dotnet:2-runtime 

Run linux container cmd. we get a command prompt for the container.


2. share a folder from host to container-- windows to linux

docker run -it --rm -v E:\Docker\code\ACRTOAKS:/abcd microsoft/dotnet:2-runtime

from E:\Docker\code\ACRTOAKS to /abcd inside the container








3. Get IP Address of the container

docker inspect containername

docker ps --list all running containers















Comments