Install
Commands
The CLI’s default snapshot is
alpine-3.23.0-256mb, which is smaller than the
SDKs’ default (vsnap-base) and does not have Python preinstalled. Name
vsnap-base if you want the two to match.pull is
only needed when you want the download to happen at a different time from the
run: in a Dockerfile layer, in a CI setup step, or before going offline.
vpod pull
Names are not unique.
vsnap-base is published at three memory limits, and the
bare name gives you the 256 MB one, so pin the id when the memory limit matters.
Pulling something already cached is a no-op that prints where it is:
vpod list
list reports the catalogue your credentials reach, and the two catalogues
replace each other. Without a key that is the public one; with a key it is your
organisation’s instead, so the public snapshots are not in the list.Options
--mount, -m
Create a link between your host and your sandbox by mounting a directory. You can configure read-only or read-write permissions for better access control.
--api-key
Reaches the private snapshots belonging to your organisation. See
Private snapshots for how keys work.
VPOD_API_KEY when the flag is absent, which is the better way to pass it:
a flag ends up in your shell history.
Environment
Where snapshots are cached
Downloads land in the user cache directory, shared with the Python SDK and with the Node SDK:
Files are named by snapshot id and verified against the digest in the catalogue,
so a name that resolves differently under another key is re-downloaded rather
than reused. Each file also records which registry and key fetched it, so
clearing out snapshots the catalogue no longer lists never touches another
organisation’s copies.