(self, ro, *args, **kwargs)
| 633 | assert mount_data['Propagation'] == propagation |
| 634 | |
| 635 | def run_with_volume(self, ro, *args, **kwargs): |
| 636 | return self.run_container( |
| 637 | *args, |
| 638 | volumes={self.mount_dest: {}}, |
| 639 | host_config=self.client.create_host_config( |
| 640 | binds={ |
| 641 | self.mount_origin: { |
| 642 | 'bind': self.mount_dest, |
| 643 | 'ro': ro, |
| 644 | }, |
| 645 | }, |
| 646 | network_mode='none' |
| 647 | ), |
| 648 | **kwargs |
| 649 | ) |
| 650 | |
| 651 | def run_with_volume_propagation(self, ro, propagation, *args, **kwargs): |
| 652 | return self.run_container( |
no test coverage detected