D. docker run -d --name web-01 httpd
Explanation:
docker run command is used to create and run a container based on a specified image.
The -d option is used to start the container in the background (detached mode).
The --name web-01 option is used to set the name of the container to web-01.
httpd is the name of the image that the container will be based on.
-d flag: for running the commands in the background.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
Highly Voted 5 months agoEikan
Most Recent 2 weeks, 4 days ago