Please provide information about your setup
DVC version(i.e. dvc --version), Platform and method of installation (pip, homebrew, pkg Mac, exe (Windows), DEB(Linux), RPM(Linux))
DVC version: 0.86.4
Python version: 3.7.6
Platform: Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid
Binary: False
Package: pip
to reproduce
mkdir testrepo && cd testrepo
git init
dvc init
git add .
git commit -m "init"
echo "a" >> dep.txt
echo -e "From python\nRUN pip install dvc\nWORKDIR /workspace\nCMD dvc repro 1.dvc" > Dockerfile
docker build -t testdvc .
dvc run --no-exec -f 1.dvc -d dep.txt -o test.txt 'sleep 10; echo "a">> test.txt'
docker run --rm -v $(pwd):/workspace --name testdvcdvc1 testdvc:latest
# in another window, same directory
docker run --rm -v $(pwd):/workspace --name testdvcdvc2 testdvc:latest