Skip to content

Add Mac docker scripts#797

Closed
alextrical wants to merge 2 commits intoINTI-CMNB:masterfrom
alextrical:MacOS-Docker-Script
Closed

Add Mac docker scripts#797
alextrical wants to merge 2 commits intoINTI-CMNB:masterfrom
alextrical:MacOS-Docker-Script

Conversation

@alextrical
Copy link

Adding some scripts to allow users to run KiBot in Docker on a Mac.

The docker_kibot_mac.sh script allows running the KiBot commands as expected
The docker_kibot_mac_allow.sh requires additional setup, by following steps 1-7 from here https://gist.github.com/sorny/969fe55d85c9b0035b0109a31cbcb088 , It runs the GUI

For both the cache isnt writable, and gives the error Error: Directory '/.config' couldn't be created (error 13: Permission denied)

@alextrical
Copy link
Author

So the issue with not being able to write to folders looks to be realted to the "I have no name" issue, that the current user is not honored in the Linux container due to the username/security system structure differences on a Mac. Running as Root, does fix this, along with defining the environmental variable of HOME to the mac users directory

set-soft added a commit that referenced this pull request Mar 18, 2025
- Using the informatio from #797
- In this way we don't need separated files
@set-soft
Copy link
Member

Hi @alextrical !
Thanks for the info.
The scripts you suggest have only small changes when compared to the ones used for Linux, so I modified the Linux scripts to incorporate the changes.
The d2d1ac1 commit should add the same things to the "linux" scripts, can you try them?

@set-soft
Copy link
Member

set-soft commented May 5, 2025

Should I close it @alextrical ?

@alextrical
Copy link
Author

Appologies, i didnt remember seeing there was an action for me to get back on. I can get that tested tomorrow, and confirmed either way

@set-soft
Copy link
Member

Closing because is inactive

@set-soft set-soft closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants