Display error if resource not specified

Display an error message if a container resource is not supplied to 'docker cp'.

Fixes error in #1661