Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curent location not saved under docker #4722

Closed
ntanto opened this issue Aug 25, 2016 · 4 comments
Closed

curent location not saved under docker #4722

ntanto opened this issue Aug 25, 2016 · 4 comments

Comments

@ntanto
Copy link

ntanto commented Aug 25, 2016

Expected Behavior

{
"type": "FollowPath",
"config": {
"enabled": true,
"walker": "StepWalker",
"path_mode": "loop",
"path_start_mode": "closest",
"path_file": "configs/pathfile.gpx",
"number_lap": 10,
"timer_restart_min": "01:30:00",
"timer_restart_max": "02:00:00"
}
}

with "path_start_mode": "closest", i expect start from last position and move to closest path

Actual Behavior

docker images removed after bot shutdowns and not record last position
when its restart will act like "path_start_mode": "first"

Steps to Reproduce

add this line to docker run command -v $(pwd)/data/:/usr/src/app/data/
and got error message dont have right access database
i change folder security access doesnt change the error

Other Information

OS: Windows 10 - Docker 1.12.0 Stable Build 5968
Branch: master
Git Commit: ae314b6
Python Version: 2.7.12

@MartinTerp
Copy link

if you remove the "--rm" part of the docker run command, it wont "reset" every time, but just stop.
Then if you need to stop: docker stop BOTNAME, or start: docker start BOTNAME

@k4n30
Copy link
Contributor

k4n30 commented Aug 26, 2016

@ntanto does this solve your issue?

@ntanto
Copy link
Author

ntanto commented Aug 26, 2016

i think this solve my problem
thanks a lot and close my case

@mjmadsen
Copy link
Contributor

Glad we could help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants