Final answer:
The correct Docker command to run a 'hello-world' image is 'B) docker run hello-world'. This command is essential for initiating containers from images.
Step-by-step explanation:
The command to run a 'hello-world' image from the default repository using Docker is B) docker run hello-world. Docker's run command is used to create a container from an image and run it. In this case, 'hello-world' is the image name, which Docker will pull from the default Docker Hub repository if it is not already present locally, and then run a container using that image.
The docker run command is fundamental for executing containers. It's not just used for demonstration purposes with the hello-world image but is also the primary method to run any container from an image, specifying configurations such as ports, volume mappings, environment variables, and so on. It's crucial for anyone diving into containerization and deployment processes to become familiar with this command.