我正在尝试将我的tar图像加载到podman中。
Python 3.7.8 (default,Jun 29 2020,05:46:05)
[GCC 5.4.0 20160609] on linux
Type "help","copyright","credits" or "license" for more information.
>>> import podman
>>> c = podman.Client(uri='unix://var/run/docker.sock') #docker.sock is my mount point for podman socket
>>> c.
c.containers c.images c.pods c.system
>>> c.images.
c.images.build( c.images.get( c.images.list( c.images.search(
c.images.delete_unused( c.images.import_image( c.images.pull(
>>> c.images.
我没有看到任何加载图像的方法。
有没有像c.load_image("/tmp/se.tgz")
这样的方法? docker也存在类似的方法,并且很容易实现。