openziti / ziti-doc

Documentation describing the usage of the Ziti platform.
https://openziti.io
Apache License 2.0
34 stars 41 forks source link

Docker Quickstart Failure to Write/Read Configuration File #69

Closed camotts closed 2 years ago

camotts commented 2 years ago

Steps:

Follow quickstart guide: https://openziti.github.io/ziti/quickstarts/network/local-with-docker.html On the step of running the docker run command it attempts to write a file, then read a second file. Neither files exist despite logged as created.

image

camotts commented 2 years ago

Also same issue while running through the compose file as well if that's helpful

image

dovholuknf commented 2 years ago

i must admit - i've not tried to run these from within windows. Looks like it needs a caveat indicating to change the paths accordingly if you're going to use windows (or we need to provide the actual windows equivalents)

dovholuknf commented 2 years ago

can you provide the exact setup you have - as well as the exact command you ran for each screenshot?

camotts commented 2 years ago

Sure thing!

Edition: Windows 10 Education Version: 21H2 Build: 19044.1466

Docker Desktop Version: 4.4.4 (73704) using WSL2 Subsystem (Windows Subsystem for Linux)

Manual Docker Process:

#Pull Image
docker pull openziti/quickstart:latest

#Create Network
docker network create ziti

#Run Controller
docker run --network ziti --network-alias ziti-controller --network-alias ziti-edge-controller -p 1280:1280 -it --rm -v C:\Programming\NetFoundry\ZitiExample\mountpt:/openziti/pki openziti/quickstart /openziti/scripts/run-controller.sh

Docker-Compose I used the default compose and env files. No changes made.

#Start Compose
docker-compose --project-name docker up
dovholuknf commented 2 years ago

happily - this is not a 'windows thing'. I've pushed another docker image could you give it another try?

dovholuknf commented 2 years ago

should be closed with the latest docker image. please reopen if not