occystrap: docker and OCI container tools
Project description
Occy Strap
Occy Strap is a simple set of Docker and OCI container tools, which can be used either for container forensics or for implementing an OCI orchestrator, depending on your needs. This is a very early implementation, so be braced for impact.
Downloading an image from a repository
Let's say we want to download an image from a repository and store it as a local tarball. This is a common thing to want to do in airgapped environments for example. You could do this with docker with a docker pull; docker save
. The Occy Strap equivalent is:
occystrap --verbose fetch registry-1.docker.io library/busybox latest busybox-occy.tar
In this example we're pulling from the Docker Hub (registry-1.docker.io), and are downloading busybox's latest version into a tarball named busybox-occy.tar
. This tarball can be loaded with docker load -i busybox-occy.tar
on an airgapped Docker environment.
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
Built Distribution
Hashes for occystrap-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43be8b65e815cc67f9839c68b2f9b33d024cc20b3fe97a61bb4b8508a305a1d6 |
|
MD5 | 4255ae0e7579197ae158dc7c3cd9d872 |
|
BLAKE2b-256 | 40e4fbd6b87b96f28e91d4179a8fd8d222368f21b22fc45257501f5443bea19e |