
volumes= ['/host_location']volume_bindings = { '/host_location': { 'bind': '/container_location', 'mode': 'rw', },}host_config = client.create_host_config( binds=volume_bindings)container = client.create_container( image='josepainumkal/vwadaptor:jose_toolUI', name=container_name, volumes=volumes, host_config=host_config,) response = client.start(container=container.get('Id'))欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)