3 ms·
It's handy to be able to do this with things you already know you want to be able to do inside your container. The downside for me though, has been having to th
by latortuga 6y ago
It's handy to be able to do this with things you already know you want to be able to do inside your container. The downside for me though, has been having to throw away all the careful tweaks I have made to my development environment over the years. The muscle memory of my long list of .bash_aliases. My custom git config with shortcuts. My scripts in ~/bin. Hell even installed software that doesn't fit in with the purpose of the project, think things like `jq`.
Also worth noting that the "permissions issues" he mentions are handled automatically by Docker for Mac. I had the exact problem of files created inside the container being owned by root on Linux, and all my mac-using colleagues just stared at me like I had horns on my head. "It works on my machine" still exists, even with Docker.
- heavenlyblue 6y agoYou could just remap the uids in Docker, even on Linux.
- sp332 6y agoI thought Docker only recently supported user namespaces.
- casept 6y agoThis is why I prefer nix over docker for dev environments. I can just start a nix-shell and have all of my regular tooling available in addition to the environment-specific packages.
- TechBro8615 6y agoThese are all things that your teammates do not have on their machine, so IMO it's good that docker forces you to put all the tools you use into one place.