Skip to content
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

docker run fails to include modules as mount require tf file #85

Open
pindge opened this issue Jan 18, 2022 · 1 comment
Open

docker run fails to include modules as mount require tf file #85

pindge opened this issue Jan 18, 2022 · 1 comment

Comments

@pindge
Copy link

pindge commented Jan 18, 2022

command

(base) ubuntu@dea-dev-eks:~/datakube/workspaces/dea-dev/03_odc_k8s_apps$ docker run --rm -it -p 9000:9000 -v $(pwd):/src im2nguyen/rover

logging

Error: Unreadable module directory

Unable to evaluate directory symlink: lstat ../../../modules: no such file or
directory


Error: Failed to read module directory

Module directory  does not exist or cannot be read.

our folder structure

datakube
(no tf file under root)
+-- modules
+-- workspaces
      +-- dea-dev
            +-- 01
                  + -- tf files
            +-- 03 ..
                  + -- tf files
@pindge pindge changed the title docker run fails to include modules docker run fails to include modules as mount require tf file Jan 18, 2022
@EugenMayer
Copy link
Contributor

This is just an issue with your mounts, not rover. Please understand how mounts are transparent in the docker container and that you cannot navigate on your local disk as it is just there - you have to properly mount all the folders in a way that they are transparent, also path wise (relative)

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

No branches or pull requests

2 participants