Use for Bitovi Docker Training
# Build an image
docker build -t my-node-app .
# Build an image with a custom tag
docker build -t my-node-app:v1.0.0 .
# List images in registry
docker image ls
# Create a container
docker run --name my-container -p 8000:$MY_PORT -d -e PORT=$MY_PORT my-node-app:latest
# List running containers
docker ps
# View container logs
docker logs <container-name>
# Kill a container
docker rm -f <container-name>