docker quickstart "C:\Program Files\Git\bin\bash.exe" --login -i "D:\Installations\Docker Toolbox\start.sh"
docker toolbox installable : Docker Toolbox-19.03.1 (231 MB) 2,36,837 kb
docker info
docker-machine ip default
docker-machine status
docker-machine status default
docker-machine env
docker-machine env default
docker-machine ls
By default, docker creates a docker-machine named "default" which you can verify using "docker-machine ls" command
You can remove this machine if not required by using "docker-machine rm machine-name" command:
docker-machine rm default <= "default" is the name of docker-machine.
docker system prune -a
docker run -d -p 5000:80 --name xxxxinsmall imagename
docker build -t mywebapp .
docker kill conainer_id or first 4-5 digits of containerid
$docker kill $(docker ps-q)
docker ps -q
docker ps -a
docker exec -it mywebapp bash
curl -I -XGET 192.168.99.100:5000 [on docker mingw64 bash prompt]
docker container ls
docker container ls -q
docker container stop $(docker container ls -q) [on mingw64 ]
docker container start $(docker container ls -a) [-aq ?]
docker container rm $(docker container ls -a)
docker images
docker images -q
docker images -a
docker images -aq
docker run --rm -it --entrypoint sh myweb app
https://www.c-sharpcorner.com/article/create-docker-image-and-hosting-for-simple-web-application-using-visual-studio/
No comments:
Post a Comment