-
Notifications
You must be signed in to change notification settings - Fork 75
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
Understand dockers #66
Comments
@bobprime If you have an idea of how this might feel on the command line (or general usage), would you mind sketching out some kind of example? Something like |
I'm also only really familiar with Docker as it was in 0.7, and that was quite some time ago. Any details (links to docs, examples, etc) on how folks manage linked containers today would help this become implemented. <3 |
I am unfortunately new to docker myself and finding any sort of best practices is impossible. I run my containers with a --name container_name and containers that link to them with --link container_name:container_name. I think this data comes out in The setup I am dealing with emulates 3 servers. I start a database container named db. Then start an application container named tomcat and linked via --link db:db which puts a entry in the /etc/hosts file with the ip of the db container so my tomcat instance can talk to it over the network. Then I start my load balancing reverse proxy that is linked to the application container. In a production environment these may very well be seperate machines but on a dev workstation or test server it is often convenient to run them all together and use pleasestart to make the magical startup scripts as I have no clue how to write systemd scripts. If I am remembering pleasestart the -p is for the host platform so it would either need to be a different argument or understand anything that starts with "docker name" is actually looking to be serviced via docker. |
Add the ability to give pleasestart either the name of an existing docker container to start or an image and parameters to run and have pleasestart manage all of the docker commands to make stuff happen.
The text was updated successfully, but these errors were encountered: