Closed SGATX closed 4 days ago
If it is having issues mapping just set it via portainer manually and re-deploy container
did you check the Init file?
I think the problem was an old container, with the old mapping, that was being reused. When I removed it and reran agent-zero from the new tree it mapped work-dir correctly. I don't know Docker well enough to know why it was reusing the old container. (and why it wasn't removed when agent-zero shut down) But I don't think it's an agent-zero issue.
I have multiple pulls of the agent-zero code and I had a problem finding files in the work_dir. What I found, thanks to a comment on Discord, is that if you have multiple code pulls Docker maps the work_dir from your first pull even if you are executing AZ from a second pull. I can only guess it's related to an environment variable? Haven't found the issue yet.