I'm trying to set up meltano UI in docker. I use t...
# getting-started
l
I'm trying to set up meltano UI in docker. I use tutorial but can't figure out how to initiate UI. docker pull meltano/meltano I tried to init the project but I'm confused about folders. I'm on windows with docker desktop installed and running. $ docker run -v "lpwd":/projects -w ///c/MyWork/Git/projects meltano/meltano init test Creating project files... test/ |-- .meltano |-- meltano.yml |-- README.md |-- requirements.txt |-- output/.gitignore |-- .gitignore |-- extract/.gitkeep |-- load/.gitkeep |-- transform/.gitkeep |-- analyze/.gitkeep |-- notebook/.gitkeep |-- orchestrate/.gitkeep Creating system database... Done! The next step is "cd test" $ cd test bash: cd: test: No such file or directory What am I doing wrong?
s
maybe @visch as my go to Windows person can help you? (Sorry @visch! Feel free to provide me with more windows-affine meltano power users :-))
But I gotta say, we're currently in the process of deprecating the UI, so I would recommend to focus on the CLI instead of the UI (which has limited capabilities anyways).
v
😄 um this looks more like you're running on WSL2 so it's a linux thing. I'm not clear where the instructions are you're following, maybe it's the getting started docs?
Copy code
docker run -v "lpwd":/projects -w ///c/MyWork/Git/projects  meltano/meltano init test
The command here https://docs.meltano.com/getting-started/#create-your-meltano-project is
Copy code
docker run -v $(pwd):/projects -w /projects meltano/meltano init my-meltano-project
Is that what you're trying to get working @leog ?
If so
$(pwd)
isn't going to work on Windows. something like
Copy code
docker run -v //c/MyWork/Git/projects/test:/projects -w ///c/MyWork/Git/projects  meltano/meltano init test
May do the trick for you?
I'm also assuming that you want to use Docker here! 😄
Copy code
docker run -v //c/MyWork/Git/projects/test:/projects -w ///c/MyWork/Git/projects  meltano/meltano ui
Then we can get this going I think
l
I was able to overcome that issue on windows by replacing $(pwd) with %cd%
The commend looked like
docker run -v %cd%:/projects -w /projects meltano/meltano init test1
That works but I'm not having issues with SSL for hub.meltano.com to pull the oracle extractor. I have another thread.