osctl-repo
- manage and interact with container images repositories
osctl-repo
[global options] command [command options] [arguments...]
osctl-repo
is a tool for accessing and managing container image repositories.
It works in two modes: local
and remote
.
In the local
mode, osctl-repo
manages container image repository in a chosen
directory. It can be used add, remove and configure images. osctl-repo
does
not build the images, osctl-image
can be used for that purpose.
The remote
mode is used to interact with a remote repository over HTTP. In
this mode, osctl-repo
can download remote images and keep them in a local
cache.
-v
, --version
-h
, --help
local init
local ls
local add
[options] vendor variant arch distribution version --archive
file
Specify container image with root filesystem as a tarball.
--stream
file
Specify container image with filesystems stored as ZFS streams.
--tag
tag
Tag the image, e.g. stable
, latest
and testing
. Can be used multiple
times.
local rm
vendor variant arch distribution versionlocal get path
vendor variant arch distribution version tar
|zfs
local default
vendorlocal default
vendor variantremote ls
[options] url --cache
dir
If set, the repository index is saved in this directory.
remote fetch
[options] url vendor variant arch distribution version|tag tar
|zfs
--cache
dir
Use to store repository index and images. Required.
remote get path
[options] url vendor variant arch distribution version|tag tar
|zfs
--cache
dir
Use to store repository index and images. Required.
--[no-]force-check
If enabled, osctl-repo
fails if the remote repository is not accessible
and the image is not available in the cache directory. Disabled by default.
remote get stream
--cache
dir
If set, the repository index and images are stored there.
--[no-]force-check
If enabled, osctl-repo
fails if the remote repository is not accessible
and the image is not available in the cache directory. Disabled by default.
Report bugs to https://github.com/vpsfreecz/vpsadminos/issues.
osctl-repo
is a part of vpsAdminOS.