@[email protected] to [email protected]English • 9 months agoDocker or podman?message-square51fedilinkarrow-up159file-text
arrow-up159message-squareDocker or podman?@[email protected] to [email protected]English • 9 months agomessage-square51fedilinkfile-text
minus-squarefmstratlinkfedilinkEnglish3•9 months agoJust pointing out your response may be dated. Docker can run rootless: https://docs.docker.com/engine/security/rootless/
minus-squarefmstratlinkfedilinkEnglish4•edit-29 months agoAgreed. Honesly I use docker like snap these days. Need a specific version of node? alias node="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine" alias npm="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine npm" Pretty much every CLI tool that isn’t super basic to install I do this with.
minus-squareDandroidlinkfedilinkEnglish1•9 months agoWow, that’s really clever. And dead simple at the same time.
minus-squarefmstratlinkfedilinkEnglish1•9 months agoYea, I contribute to a bunch of own source projects, so it makes it easy to jump around without conflicts. Also great for random stuff like youtube-dl, or esphome, etc, that you use once in a while. Just slap the aliases in my bashrc.
Just pointing out your response may be dated. Docker can run rootless: https://docs.docker.com/engine/security/rootless/
Removed by mod
Agreed. Honesly I use docker like snap these days. Need a specific version of node?
alias node="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine" alias npm="docker run --rm -ti -v '${PWD}:${PWD}' -w '${PWD}' node:16-alpine npm"
Pretty much every CLI tool that isn’t super basic to install I do this with.
Wow, that’s really clever. And dead simple at the same time.
Yea, I contribute to a bunch of own source projects, so it makes it easy to jump around without conflicts. Also great for random stuff like youtube-dl, or esphome, etc, that you use once in a while. Just slap the aliases in my bashrc.