It's not actually deleted. It's appearing as an Orphan if you click Advanced View. But, you fix it via Previous Apps, hit the download icon for that app, and edit the path accordingly (even if you have to hit show more settings)
And, the orphan / deleting however you want to word it is how the entire docker system works across the board on all OS. Many reasons for the docker "run" to fail, and it will always result in an orphan because the system can't actually run it with the parameters you gave it.