Like :py:meth:`~docker.api.image.ImageApiMixin.import_image`, but only supports importing from a URL. Args: url (str): A URL pointing to a tar file. repository (str): The repository to create tag (str): The tag to apply
(self, url, repository=None, tag=None,
changes=None)
| 201 | ) |
| 202 | |
| 203 | def import_image_from_url(self, url, repository=None, tag=None, |
| 204 | changes=None): |
| 205 | """ |
| 206 | Like :py:meth:`~docker.api.image.ImageApiMixin.import_image`, but only |
| 207 | supports importing from a URL. |
| 208 | |
| 209 | Args: |
| 210 | url (str): A URL pointing to a tar file. |
| 211 | repository (str): The repository to create |
| 212 | tag (str): The tag to apply |
| 213 | """ |
| 214 | return self.import_image( |
| 215 | src=url, repository=repository, tag=tag, changes=changes |
| 216 | ) |
| 217 | |
| 218 | def import_image_from_image(self, image, repository=None, tag=None, |
| 219 | changes=None): |
nothing calls this directly
no test coverage detected