macos: cp -r dir/ will copy everything INSIDE output linux will copy the whole folder (output)
macos
mkdir dir1
touch dir1/blah
mkdir dir2
cp -r dir1/ dir2
ls dir2/
outputs:
blah
linux
docker run -i -t --rm=true debian /bin/bash
mkdir dir1
touch dir1/blah
mkdir dir2
cp -r dir1/ dir2
ls dir2/
outputs:
dir1