Posted by: Pdfprep
Post Date: November 12, 2020
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