Useful Docker commands The Basics Build and tag an image from a Dockerfile : docker build -t name/tag . Run image: