This message was deleted.
# rancher-desktop
a
This message was deleted.
w
well to do a multi container app you could do a compose based app or you could do full kubernetes. you don’t need all of kubernetes if you are using compose.
if you don’t need all the k8s stuff I say stick with compose to start.
then its just a simple “depends_on: db” param so the app starts up after the db
b
can a compose setup be booted at startup ? or would it require a command the engineers run to start it up
Copy code
[docker|nerdctl] compose up
w
now starting when the laptop starts gets sticky as you need ot start the container hosting stuff as well (Rancher Desktop in this case) so timing would be a mess
you could do some sort of scheduled task to check if docker is up and then run the compose up command in the background
b
so you would recommend just compose route for now, avoid kubernetes ? my experience with kubernetes is limited (primarily, i have interacted with k8s as a large thing to allocate address blocks for)
w
if you don’t need all that k8s brings and given you are single node it adds a lot of domain knowledge that doesn’t sound like you need
if a simple 2 container compose works keep life simple
b
ok, will try this compose route. any pointers to resources on writing a compose file, like a tutorial?
w
b
hmm.. blocked at work.
w
hah well don’t look at archive.is or 12ft.io as ways to handle that.
b
thank you'
appreciate the advice
w
and lots of exmaple app+db on github as well.
but if they are blocking docs.docker.com make sure that even these basics are cool with your org. shouldn’t be anything threatening on that site so bit odd that it would be blocked
b
it is a forcing function i am sure.. forcing the <large> population of users to conform to the corp direction set to use rancher-desktop and block access to docker registry
w
well docker and docker desktop are not an equivalent. lots of helpful data in their docs site for folks given they authored most of the implementations before they went into OSS stewardship. tons of examples out there on github and other vendor agnostic systems to get you going on compose. and there is the primary upstream as well https://github.com/compose-spec
b
thank you, i really appreciate it
👍 1