Re: Re: Apple Macs
By: Tracker1 to Nightfox on Fri Feb 05 2021 08:06 am
Tr> Really <3 Docker these days, as I can spin up/down everything I need as
Tr> project dependencies and spin them down when switching to something
Tr> else. But I still need more than 8gb ram typically.
Wow, you must be running some large stuff on your laptop?
I too develop on a MacBook Pro - and my iMac - depends where I am as to which one I use.
I think I've only given my iMac 4GB of ram for docker to work with (my laptop only gives docker 2GB), and I load some large DB's in it (there must be about 1-2mil records) and it performs OK, not fast I admit. Maybe that's not large? :)
But you are right - for developing, docker makes things pretty easy. I use "syncthing" to keep my laptop and imac development directory in sync, so when I switch between one or the other, I just kill the containers on my laptop and restart them on the imac and keep going (or visa-versa).
When I'm finished with a feature, I push the code to my github, which (depending on the project), builds the container that ends up on the live server. With a Dockerfile that is consistent between environments there is rarely any localisation issues with deployment...
...лоеп
... Never underestimate the power of human stupidity.
---
ю Synchronet ю Alterant | an SBBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|