News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by twhitbeck on Monday January 14, 2019 @11:16AM (#18904059)
Use docker to run binaries without installing:

  alias·mongo='docker·run·-it·--rm·--network=host·mongo·mongo'
  alias·aws='docker·run·-it·--rm·-e·AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID·-e·AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY·--network=host·mesosphere/aws-cli'

There are no comments on this comment yet.