Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
cmd () {
CMD_CONT="bash -c \"${1}\" "
docker run --rm --volumes-from $CONT_NAME ubuntu:14.04 $CMD_CONT
}
cmd "rm -rf ${DATA_CONT}/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment