#!/bin/bash -eux

docker run \
-t \
-i \
--privileged \
-v /Users/pivotal/workspace/nfs-volume-release/:/nfs-volume-release \
-v /Users/pivotal/workspace/mapfs-release:/mapfs-release \
--workdir=/ \
bosh/main-bosh-docker \
/nfs-volume-release/scripts/run-bosh-release-tests-in-docker-env.sh

#!/bin/bash -eux

pushd ~/workspace/nfs-volume-release
    bosh reset-release
popd

pushd ~/workspace/mapfs-release
    bosh reset-release
popd

docker run \
-t \
-i \
--privileged \
-v /Users/pivotal/workspace/nfs-volume-release/:/nfs-volume-release \
-v /Users/pivotal/workspace/mapfs-release:/mapfs-release \
--workdir=/ \
bosh/main-bosh-docker \
/nfs-volume-release/scripts/run-bosh-release-tests-in-docker-env.sh

Reset bosh releases before mounting into the bosh-release-test container
Reset bosh releases before mounting into the bosh-release-test container

- This prevents a 'blob cannot be found' error due to the docker container looking for the blob in the home/.bosh directory (this directory was not volume mounted from the host machine)

[#164914118](https://www.pivotaltracker.com/story/show/164914118)

Signed-off-by: Paul Warren <381ebbe39e97b92332c450533d9eabb9a873db86@emc.com>
Co-authored-by: Paul Warren <381ebbe39e97b92332c450533d9eabb9a873db86@emc.com>
