60.7k views
2 votes
How to change storage driver for docker engine?

A) docker switch-driver
B) docker configure-driver
C) docker engine-driver
D) docker daemon --storage-driver

1 Answer

5 votes

Final answer:

To change the storage driver for Docker Engine, use the 'docker daemon --storage-driver' command.

Step-by-step explanation:

The correct option to change the storage driver for Docker Engine is D) docker daemon --storage-driver. This command allows you to specify a storage driver for your Docker Engine.

For example, if you want to change the storage driver to overlay2, you would run the command:

docker daemon --storage-driver=overlay2

User Manishg
by
8.4k points