Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 681 Bytes

DockerHelper.md

File metadata and controls

39 lines (24 loc) · 681 Bytes

Test locally

Build docker image

docker build -t <\image name> .

tutorial : here

lists docker images

docker images docker ps docker ps -a

start

docker run -d -p 80:80 <\image-id> docker run -p 8501:8501 <\image name>

  • p for --publish

exec

docker exec -it <\image-id> /bin/sh

stop

docker stop <\image-name> : will not remove the image only stop

delete images

docker rmi <\image-id>

view in html

http://localhost:8501

Azur

azur CLI to use azur service with command line on the terminal

azur login

azur group list # list all resource group