add option to use Docker instead of VM #16
Labels
No Label
priority
high
priority
low
priority
medium
priority
very high
BUG
Feature
High Priority
Low Priority
Medium Priority
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/pyceo#16
Loading…
Reference in New Issue
No description provided.
Delete Branch "docker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why not use docker-compose to set up the networks, volumes, etc? Also, why not start ceod automatically in docker, but to use sleep infinity and attach? That seems like bunch of manual steps that can be automated.
We could use docker-compose - I just felt like writing a shell script (feel free to modify).
As for why we
sleep infinity
, it's because you're going to need to manually restart ceod if you change the source code. If ceod was the foreground process, this would require killing and re-creating the container. I figured it would be easier to just manually start ceod so that we can Ctrl-C and restart it.I updated the VM so that we can use the same ceod_dev.ini file in both:
2438b1c1d9
Maybe we can have a simple superviser that restarts ceod on signal? Normally ceod restarts by itself anyways so manual restart would only be needed occasionally (using docker kill -sighup or similiar). Main thing is that I feel having to attach to each individual manually is too much manual work especially when docker can start services by itself.
I can make a pr to this branch with docker-compose and the superviser thing if you want, although I don't want to install docker on my computer right now. Doe any csc machines have docker installed?
Sure, that'd be great.
Unfortunately none of the general-use machines have Docker installed - we haven't figured out a way to do that securely.