Skip to content

Instantly share code, notes, and snippets.

@mcenirm
Created May 12, 2016 19:28
Show Gist options
  • Save mcenirm/dcd9f30c8521f5fc52b867dc7eee88c5 to your computer and use it in GitHub Desktop.
Save mcenirm/dcd9f30c8521f5fc52b867dc7eee88c5 to your computer and use it in GitHub Desktop.
#!/bin/bash
name=$( basename "$0" .bash )
set -e
set -x
docker run --rm --name "$name" -e http_proxy=http://192.168.99.1:3128 "$name":latest yum list "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment