• 2 Posts
  • 41 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle





  • fmstrat@lemmy.nowsci.comtoSelfhosted@lemmy.worldDocker or podman?
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 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.