DPNS is a small script to pull a list of docker images and save them into a directory. Later those dumps can be loaded from disk into a local docker engine again.
This might help to sync images for offline docker hosts (w/o access to registries) or running Alpine Linux in diskless mode w/o adding the docker data directory (/var/lib/docker
) to the local backup.
The following commands are provided:
It is available in the testing repository of the edge branch:
~ # apk add dpns
Use rc-update
to enable dpns to load docker images and run stacks on startup:
~ # rc-update add dpns
* service dpns added to runlevel sysinit
The configuration files are located within of the /etc/dpns
directory:
dpns-run