Complete the command to start the Docker service.
sudo systemctl [1] dockerThe start command tells systemctl to start the Docker service so it runs in the background.
Complete the command to check the Docker engine version.
docker [1] versionThe docker version command shows the Docker engine and client version details.
Fix the error in the command to run a container interactively.
docker run -[1] ubuntu /bin/bashThe -i flag keeps STDIN open for interactive mode, allowing you to interact with the container.
Fill both blanks to list all Docker containers including stopped ones.
docker [1] [2]
The command docker ps -a lists all containers, including those stopped.
Fill all three blanks to build a Docker image with a tag from a Dockerfile in the current directory.
docker [1] -t [2] [3]
The command docker build -t myapp:latest . builds an image named 'myapp' with tag 'latest' from the current directory.