Skip to content

Commit

Permalink
Update ContainerConfig.py
Browse files Browse the repository at this point in the history
Delete line that block Orbstack to mount /etc/localtime
  • Loading branch information
cHJlaXpoZXI authored Dec 19, 2023
1 parent 9ecb273 commit f6d4a19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exegol/model/ContainerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,6 @@ def addVolume(self,
logger.critical(msg)
raise CancelOperation(msg)
if path_match.startswith("/etc/"):
if EnvInfo.isOrbstack():
raise CancelOperation(f"{EnvInfo.getDockerEngine().value} doesn't support sharing [magenta]/etc[/magenta] files with the container")
path_match = path_match.replace("/etc/", "/private/etc/")
if EnvInfo.isDockerDesktop():
match = False
Expand Down

0 comments on commit f6d4a19

Please sign in to comment.