Add PM2 cheat sheet + various additions

This commit is contained in:
Thang Vo
2020-09-21 16:59:02 +07:00
parent d00eb3352c
commit a6ff7b33d1
7 changed files with 39 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ docker rm $(docker ps -a -q) # Remove all containers from this ma
docker images -a # Show all images on this machine
docker rmi <imagename> # Remove the specified image from this machine
docker rmi $(docker images -q) # Remove all images from this machine
docker logs <container-id> -f # Live tail a container's logs
docker login # Log in this CLI session using your Docker credentials
docker tag <image> username/repository:tag # Tag <image> for upload to registry
docker push username/repository:tag # Upload tagged image to registry