Module for running imgadm command on SmartOS
Return a list of available images
CLI Example:
salt '*' imgadm.avail [percona] salt '*' imgadm.avail verbose=True
Remove an installed image
CLI Example:
salt '*' imgadm.delete e42f8c84-bbea-11e2-b920-078fab2aab1f
Get the image uuid from an imported docker image
New in version 2019.2.0.
Return info on an installed image
CLI Example:
salt '*' imgadm.get e42f8c84-bbea-11e2-b920-078fab2aab1f salt '*' imgadm.get plexinc/pms-docker:plexpass
Import an image from the repository
CLI Example:
salt '*' imgadm.import e42f8c84-bbea-11e2-b920-078fab2aab1f [verbose=True]
Return a list of installed images
Changed in version 2019.2.0: Docker images are now also listed
CLI Example:
salt '*' imgadm.list salt '*' imgadm.list docker=True salt '*' imgadm.list verbose=True
Show manifest of a given image
CLI Example:
salt '*' imgadm.show e42f8c84-bbea-11e2-b920-078fab2aab1f salt '*' imgadm.show plexinc/pms-docker:plexpass
Add a new source
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.source_add https://updates.joyent.com salt '*' imgadm.source_add https://docker.io docker
Delete a source
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.source_delete https://updates.joyent.com
Return a list of available sources
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.sources
Gather info on unknown image(s) (locally installed)
CLI Example:
salt '*' imgadm.update [uuid]
Remove unused images
CLI Example:
salt '*' imgadm.vacuum [verbose=True]
Return imgadm version
CLI Example:
salt '*' imgadm.version
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.smartos_imgadm.html