How to copy or move docker container with all data to another host or server

I have one mysql and one wordpress container on my ubuntu server
how can i transfer these containers to another server

Could you find a solution?

The info I found was not very helpful, the best description I found here: