Does any one have tested to move from baremetal to docker

Hello, does any have any experience moving from a bare metal (Ubuntu 16.04.4 LTS) to a docker container, I think it is just a matter of create the instance and update a bump of the database to inside the container, but I want to ask if some want have tested with this.

Regards
William Moreno Reyes