stephan
02/19/2021, 7:27 PMdouwe_maan
02/19/2021, 8:57 PM-v
volume argument should be: $(pwd):/projects
docker run --name Meltano -v $(pwd):/projects -w /projects meltano/meltano init my-meltano-project
That way you're mounting the current working directory into the container at /projects
, which you're then also using as the working directory with -w
. Right now, you're mounting $(pwd)/projects
(the projects
directory inside your working directory) inside the container at that same path ($(pwd)/projects
), since no mapping is specified with :
.stephan
02/20/2021, 12:08 PMstephan
02/20/2021, 12:08 PMstephan
02/20/2021, 12:15 PMdouwe_maan
02/22/2021, 3:53 PM$(pwd)
will only work on bash-like shells, not Windows command.exestephan
02/23/2021, 5:41 PM