Open mouyigang opened 9 years ago
There's a couple situations here. There's a bad build that will not finish making the image. This should already work fine on failure since the last image will still exist I think. Then there's a mistake that makes the image unusable even though it builds fine. Which one are you talking about?
Sorry for the late response, the later one. Thanks.
I edited my Dockerfile to FROM mysql and obviously it won't work but I exited the session, before I realised the mistake, now I can't log in to that environment any more.
If this kind of situation happens, would it be nice to provide an option to reverse the Dockerfile change to last working state?
And I also wonder how to manually fix this, I attached the main docker instance and went to /data/users/[username]/envs and removed the whole folder named after that environment, didn't help.