#!/bin/sh # ./docker-copy a25dae391089 /bin/prometheus ./ id=$(docker create $1) docker cp $id:$2 $3 docker rm -v $id