mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
"Select Working Directory" ends with "ERROR: Is a directory" #302
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @F1zzyD on GitHub (Apr 21, 2025).
I am trying to import my existing docker compose files into Komodo. According to the docs HERE, I should just need to create a stack, ensure it has access to the compose files using the "Store the files anywhere on host" option, and make sure I define the project name. Here's what happened:
docker ps. Komodo does nothing to pick up the running project.Is there actually a way to import compose.yaml files in Komodo currently, or is this just one of those features that is coming and not yet implemented?
@Owen000 commented on GitHub (Apr 27, 2025):
Same issue
@mbecker20 commented on GitHub (Apr 28, 2025):
Periphery running in container will have separate file system. You can mount the directories you need in, making sure the path is same both inside and outside container, or use systemd periphery to avoid the file system separation
@F1zzyD commented on GitHub (Apr 28, 2025):
Got it figured out. Yes, periphery needs access to the filesystem but it wasn't clear that both sides needed to be the exact same AND you must remove the periphery tag at the very front, otherwise it will go to a different directory. Working with other docker containers, Komodo does not allow you to make shortcuts to make entering things in easy. For example, you must ALWAYS use the absolute directory; you cannot do something like /home/user/docker:/docker
@mbecker20 commented on GitHub (Apr 29, 2025):
You set PERIPHERY_ROOT_DIRECTORY, if you don't enter any run directory it will assume $PERIPHERY_ROOT_DIRECTORY/stacks/$stack_name as the run directory and you can give paths relative to that.