Skip to content

Commit

Permalink
switch to vfs on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Jan 17, 2025
1 parent a0c9414 commit 3580a7a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

import json
import logging
import platform
import uuid
from typing import Callable, Dict, List, Optional, Union
Expand Down Expand Up @@ -78,7 +79,8 @@ def get_daemon_config_json(registry_mirror_url: Optional[str] = None) -> str:
Returns:
str: The json representation of the docker daemon config.
"""
storage_driver = STORAGE_DRIVER if platform.system() != "Darwin" else "vfs"
storage_driver = "vfs" if platform.system() == "Darwin" else STORAGE_DRIVER
logging.info(f"Using storage driver: {storage_driver}")
daemon_config: Dict[str, Union[List[str], str]] = {
"storage-driver": storage_driver,
}
Expand Down

0 comments on commit 3580a7a

Please sign in to comment.