pm2 start dist/app.js
cd /usr/local/department-service
pm2-docker start dist/app.js
docker run -it <image_name>:<version>
docker ps -a
docker commit <container_id>
docker tag <sha> <image_name>:<version>
docker run -p 3001:3001 -d dilisuo:be bash "/usr/local/start_from_docker.sh"
docker logs <sha>
# logs running container
docker ps
# push to remote
docker tag <image_name>:<version> docker.gagogroup.cn:5000/<image_name>:<version>
docker login docker.gagogroup.cn:5000/<image_name>:<version>
docker push docker.gagogroup.cn:5000/<image_name>:<version>