-
Notifications
You must be signed in to change notification settings - Fork 46
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
ERROR Running in Docker on all OS's #165
Comments
Hi @dancesWithCycles thanks for posting this. I'm not able to determine right now what may be causing this issue; haven't checked this project in a long time. Will try to reproduce in this weekend. |
@dancesWithCycles I got around to testing this.. built and ran a dockerized version of this application successfully without incident. Sharing the commands from my linux system:
Can you try it once? |
Hi @answerquest , Cheers! |
@answerquest: Let me provide a short reply now and more details later: The two mentioned instructions of you above are working on my laptop. Now I am eager to learn, what is the difference between this observation and the one on my cloud server that led to this issue in the first place. I'll keep you in the loop! |
Hi @answerquest,
Doing use case 3. results in this issue. Any ideas about what goes wrong? Cheers! |
@dancesWithCycles wow, this looks unique, since the docker image ought to be a self-contained operating system in itself independent of the host OS that can be run anywhere; at least that's what they say on the packaging ;) I'd only tested this out on a local ubuntu-based laptop; the core docker image Are you pulling it from your docker repository properly? try |
@answerquest : How can I pull it not properly? I am pulling it from hub.docker.com. What do you mean with |
@answerquest: How do you deploy on the production server? Do you call |
@dancesWithCycles I ran into this myself when trying to set this project up and this error is happening because while the container has the That's not the correct way to use Docker volumes to persist data; instead, only mount the folder(s) where you need the data to be persisted. Usually that's the folder for the database, settings/configuration files, etc... From a quick look at the files/folders that have been created when I create a GTFS feed from scratch and taking into consideration which folders are already in the @answerquest Is there anything outside of those 4 folders that need to be persisted across (Docker) image updates? Here's a quick version: '3.7'
services:
static-gtfs-manager:
build: .
ports:
- 5000:5000
volumes:
- ./db:/app/db
- ./export:/app/export
- ./logs:/app/logs
- ./uploads:/app/uploads With this, irrespective of the host OS, I can just run clone the git repo, run |
Cheers @danshilm ! I'll check your suggestion ASAP and I'll come back here with my experiences. I call you soon, dear raccoon! |
This is now failing because the docker image is based on an old debian which repo URL is no longer online. |
Hi folks,
Thank you so much for providing and maintaining this repository!
Operating system
Python version
Python is not required on the development system when you are going the Docker way.
Problem description
Console / terminal output if any
I build a Docker image following the documentation in the Wiki. I published the image and pulled and run it on the following host.
Docker comes straight back with the following error.
Expected Action
I expected Docker to start and run the image.
Details of data you are working with, if relevant
Q: Is there anything peculiar about the data you are working with, which may be causing the issue? Any extra files in the feed? Extra columns? Any mandatory columns/fields omitted?
A: <!--- enter answer here --->
Q: What is the size of the dataset : how many lines in stops.txt, routes.txt and stop_times.txt?
A: <!--- enter answer here --->
Q: Are you starting a new feed from scratch and haven't filled in any of the other files like calendar.txt?
A: <!--- enter answer here --->
Anything else
I appreciate any hint in the right direction.
Cheers!
The text was updated successfully, but these errors were encountered: