-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount /etc/localtime on macOS with Orbstack #196
Conversation
Delete line that block Orbstack to mount /etc/localtime
@QU35T-code can you confirm? |
Thank you for the PR. We need to do some testing before merging. Regarding your code, my only concern is because of the docker-desktop patch: Not sure if it's necessary when using orbstack or not |
Orbstack mount the /etc/localtime by default. So I guess no. I haven't delete it because I don't know if this was used somewhere else or not. If not, we can remove everything then. And sure for testing no problem ;) if I can contribute with test, tell me ;) |
exegol/model/ContainerConfig.py
Outdated
@@ -963,8 +963,6 @@ def addVolume(self, | |||
logger.critical(msg) | |||
raise CancelOperation(msg) | |||
if path_match.startswith("/etc/"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to if path_match.startswith("/etc/") and EnvInfo.isDockerDesktop():
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I make the change :)
@ShutdownRepo or @QU35T-code Can you confirm Orbstack can bind volume from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the testing and the PR !
Description
This PR is to delete line that block Orbstack to mount /etc/localtime. Orbstack on macOS can mount this folder proprely now. I have tested several time (no option, VPN and Desktop) and no issue, the time is sync with the host !
Related issues
No related issue
Point of attention
Hope that my modification is correct :)