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 d2c1526 commit 2ad5f4a
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 platform
import uuid
from typing import Callable, Dict, List, Optional, Union

Expand Down Expand Up @@ -75,8 +76,9 @@ 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"
daemon_config: Dict[str, Union[List[str], str]] = {
"storage-driver": STORAGE_DRIVER,
"storage-driver": storage_driver,
}
if registry_mirror_url:
daemon_config["registry-mirrors"] = ["http://" + registry_mirror_url]
Expand Down

0 comments on commit 2ad5f4a

Please sign in to comment.