Problems using the Docker way
hitokiri opened this issue · comments
I have the next problem; you say to use this line to can run the Docker image
docker run -it --rm -p 3000:3000 -v $PWD/:/home -w /home friendsofgo/killgrave -h 0.0.0.0
but when y run this with this tree configuration
mymock/
-- imposters/
-- -- config.yml
-- -- swapi_people.imp.json
-- -- swapi_planets.imp.json
Had the same issue. For me docker run -it --rm -p 3000:3000 -v $PWD/:/home -w /home friendsofgo/killgrave -config config.yml
without -h 0.0.0.0
but with the config.yml
was working.
#config.yml
imposters_path: "imposters"
port: 3000
host: "0.0.0.0"
watcher: false
cors:
methods: ["GET"]
headers: ["Content-Type"]
exposed_headers: ["Cache-Control"]
origins: ["*"]
allow_credentials: true
Ok, the problem is in the documentation, the correct command is docker run -it --rm -p 3000:3000 -v $PWD/:/home -w /home friendsofgo/killgrave -host 0.0.0.0
.
We will fix the documentation, thanks for the catch!
Could you confirm that with this the error is missing? Thanks!
Perfect! thanks!