[英]Docker: How to transfer container with data from one host to another
for testing purposes with databases i need to transfer a mysqlsql container with database data to another host by usb stick.出于对数据库的测试目的,我需要通过 U 盘将带有数据库数据的 mysqlsql 容器传输到另一台主机。
I ran into trouble by using a data volume.我在使用数据卷时遇到了麻烦。 it work fine locally but it is not simple to deploy to another host.
它在本地工作正常,但部署到另一台主机并不简单。
Is there a simple way to exchage container with data?有没有一种简单的方法可以用数据交换容器?
not as easy as i thought.不像我想的那么容易。 I have to rethink if docker is right for my purposes.
我必须重新考虑 docker 是否适合我的目的。 Thank you for your help.
感谢您的帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.