Full migration to another computer

Is it possible to migrate virtual machine or docker containers (state)?
For example I’ve made some customization in Custom environment and need that on other computer, not just WP or its data.
Thanks