| cmd () { | |
| CMD_CONT="bash -c \"${1}\" " | |
| docker run --rm --volumes-from $CONT_NAME ubuntu:14.04 $CMD_CONT | |
| } | |
| cmd "rm -rf ${DATA_CONT}/*" | |
| # -rf: -c: line 0: unexpected EOF while looking for matching `"' | |
| # -rf: -c: line 1: syntax error: unexpected end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment