Which of the following commands starts a Redis container and configures it to always restart unless it is explicitly stopped or Docker is restarted?

Posted by: Pdfprep Category: DCA Tags: , ,

Which of the following commands starts a Redis container and configures it to always restart unless it is explicitly stopped or Docker is restarted?
A . ‘docker run -d –restart-policy unless-stopped redis’
B . ‘docker run -d –restart omit-stopped redis’
C . ‘docker run -d –restart unless-stopped redis’
D . ‘docker run -d –failure omit-stopped redis’

Answer: C

Leave a Reply

Your email address will not be published.