noodles@lemmy.world to Selfhosted@lemmy.worldEnglish · 10 months agoDocker or podman?message-squaremessage-square59fedilinkarrow-up160arrow-down14file-text
arrow-up156arrow-down1message-squareDocker or podman?noodles@lemmy.world to Selfhosted@lemmy.worldEnglish · 10 months agomessage-square59fedilinkfile-text
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up4·edit-210 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-squareDandroid@sh.itjust.workslinkfedilinkEnglisharrow-up1·10 months agoWow, that’s really clever. And dead simple at the same time.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up1·10 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.
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.