docker: improved create container backward.

closes #675.