Open MurzNN opened 3 years ago
@MurzNN You should be able to install from package (including specific repo-based installations) by looking at the pillars set up in the ways used by the tests:
Thanks! As I understand, main option is use_upstream: repo
to switch from direct downloading to repo (apt for debian-based), right? I tried to find this option before creating issue in https://github.com/saltstack-formulas/docker-formula/blob/master/pillar.example but it is missing, maybe add it to that file too (with commenting what it means)?
P.S. Also I see difference between docker.pkg.config
in https://github.com/saltstack-formulas/docker-formula/blob/master/test/salt/pillar/repo.sls and docker.pkg.environ
in https://github.com/saltstack-formulas/docker-formula/blob/master/pillar.example - which is right?
Thanks! As I understand, main option is
use_upstream: repo
to switch from direct downloading to repo (apt for debian-based), right? I tried to find this option before creating issue in https://github.com/saltstack-formulas/docker-formula/blob/master/pillar.example but it is missing, maybe add it to that file too (with commenting what it means)?P.S. Also I see difference between
docker.pkg.config
in https://github.com/saltstack-formulas/docker-formula/blob/master/test/salt/pillar/repo.sls anddocker.pkg.environ
in https://github.com/saltstack-formulas/docker-formula/blob/master/pillar.example - which is right?
That's good feedback, @MurzNN. Perhaps @noelmcloughlin will be able to address it, including the question you ask at the end.
Is your feature request related to a problem?
At now formula installs Docker via direct downloading the binary from web. But for many users more convenient way is to install using system repositories, to receive automatic updates together with all other system packages.
Describe the solution you'd like
Will be good to add an option into formula, that installs docker via
apt-get
from repositories on Debian/Ubuntu-based systems, and maybe similar way for other Linux families.