If the instructions in the wiki
https://wiki.flightgear.org/Howto:Create_WS3.0_terrain are meant for the casual scenery developer, they are missing details we need.
I am stuck at...
To generate terrain you need to run the Virtual Planet Builder tool within the container.
Firstly, get the container running from the directory containing your data and output directories:
docker run --rm --mount "type=bind,source=`pwd`/data,target=/home/flightgear/data,readonly" --mount "type=bind,source=`pwd`/output,target=/home/flightgear/output" -it flightgear/ws30-vbp-generator:latest /bin/bash
You should now find yourself in a bash shell within your container. You should see data and output directories with are linked to the directories you created earlier:
Firstly, get the container running from the directory containing your data and output directories:
Where are these data folders, I recognize the structure from ws2.0 but not how they apply to the docker image nor if the data in them are similar. I did notice it talks about the data farther down the wiki, but shouldn't that come first, not last? Am I supposed to surmise that I need to skip around the documentation in order to fill in any gaps at the start?
You should now find yourself in a bash shell within your container.
Nope, the run command failed.
- Code: Select all
docker run --rm --mount "type=bind,source=`pwd`/data,target=/home/flightgear/data,readonly" --mount "type=bind,source=`pwd`/output,target=/home/flightgear/output" -it flightgear/ws30-vbp-generator:latest /bin/bash
docker: Error response from daemon: invalid mount config for type "bind": invalid mount path: '`pwd`/data' mount path must be absolute.
See 'docker run --help'.
You should see data and output directories with are linked to the directories you created earlier
What directories did I create earlier?
I think there is a big piece missing at this step. Maybe we are assuming the user has a certain level of knowledge at this point that we don't. I am not proficient in Linux, but I do recognize the data structure were attempting to use here. What I have absolutely no knowledge about is how to get around in the docker image, ie: make directories, run commands?
What and where are source=`pwd`/data and target=/home/flightgear/data supposed to be, how do we make or access them in docker?
I don't mean for this to sound negative in any way, I truly am totally stumped trying to follow this and I have successfully built 2.0 scenery. I feel like I am missing some very important information and/or steps. It could be I am just dense, I would be the first to admit this.