diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status index 29c029623..7a7d6c783 100755 --- a/salt/common/tools/sbin/so-status +++ b/salt/common/tools/sbin/so-status @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . {%- from 'common/maps/so-status.map.jinja' import docker with context %} -{%- set container_list = docker['containers'] %} +{%- set container_list = docker['containers'] | sort %} if ! [ "$(id -u)" = 0 ]; then echo "This command must be run as root"