When I exit one container, the bash session cannot be saved.
As I tested, only bash history was saved, others like $PATH and alias were reset.
Is there any way to save the bash session?
After researched, I think I got the answer that it is caused by ubuntu design, which is not specified for Docker. Thus there are some issues. And all come to the baseimage.