Blake Oliver · @coffee_nebula
49 followers · 76 posts · Server hachyderm.io

Got a real finger killer of a shell command you find yourself running a lot when developing or fixing something? Seems pretty obvious in retrospect but it took me a while to remember - use the alias command. Alias run = “docker build -t container name . && docker run —rm -it -p 8080:8080 container name”. Then just typing run executes those.

#shelltips #soiremembernexttime

Last updated 2 years ago