Skip to main content

Pull docker image from remote host

Project description

         _    __        
 _ __   (_)  / _|  _ __ 
| '_ \  | | | |_  | '__|
| |_) | | | |  _| | |   
| .__/  |_| |_|   |_|   
|_|                     

Package License

Pull docker image from remote host, or push local image to remote host

Install

It is recommended to install using pipx. How to install pipx?

pipx install pifr

Usage

Pull an image through a host

pifr pull <host_name> <image_name>

pifr pull remote-host hello-world

Push a local image to a remote host

pifr push <image_name> <host_name>

pifr push hello-world remote-host

This is useful when the local machine acts as an intermediary to transfer images between two hosts that cannot reach each other directly.

To see all of pifr's documentation, run pifr --help

Usage: pifr [OPTIONS] COMMAND [ARGS]...

  Pull docker image from remote host, or push local image to remote host.

Options:
  --help  Show this message and exit.

Commands:
  list  列出主机 List hosts
  pull  在主机上拉取镜像,并导入到本地 Pull image at remote host and save it to local
  push  将本地镜像推送到远端主机 Push local image to remote host

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pifr-0.1.3.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pifr-0.1.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pifr-0.1.3.tar.gz.

File metadata

  • Download URL: pifr-0.1.3.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pifr-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5cf6f33d18d9ef7ee09eab878a464f02a79e0ec0f734c0e781933de6661f21f6
MD5 ab4619fd1f875d40b74fd26b8dde23ba
BLAKE2b-256 8e4ada11cb8de0f77f9ea01b9fb9b49de2251192d015f079d9dea4a3fa12103a

See more details on using hashes here.

File details

Details for the file pifr-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pifr-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pifr-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0edc0f39d2db1fd92893699b91731bfde2063293c0436a2a7affb8777779d4d8
MD5 f008bce6763da25dc547fb50a6e14b8e
BLAKE2b-256 9aa4685edd607f82968a771c08028c3d321e0f2540510732ef252eefc16c42bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page