Docker Cheatsheet
docker login --username=yourhubusername --password=yourpassword
- login to dockerhub
docker build -t dockeraccount/repo:tagname:version path
- build image with tag name
docker run -p hostport:containerport -t dockeraccount/repo:tagname:version
- run container
docker push dockeraccount/repo:tagname:version
- push docker image to Docker Hub
docker ps
- list containers
docker stop containerid
- stop container