Looking at LXC and docker, they both require some kind of template or image to run a container. Is there a technology that allows to just fork current session into parallel world and commit or discard all the changes at the end?
For example:
$ echo "test"> test
$ fork-from-here just-a-name
just-a-name$ rm test
just-a-name$ cat test
cat: test: No such file or directory
just-a-name$ commit
container "just-a-name" state saved..
just-a-name$ logout
$ cat test
test
Anything close to that?