Docker or podman? - eviltoast

I would love to hear everyone’s opinion.

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    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.

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        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.