From 58248b9c056c96af9b5bf3c2d69c61bea074c906 Mon Sep 17 00:00:00 2001 From: Alen Komljen Date: Fri, 14 Nov 2014 16:34:20 +0100 Subject: [PATCH] Take advantage of salt to run remote commands --- docs/getting-started-guides/vagrant.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/getting-started-guides/vagrant.md b/docs/getting-started-guides/vagrant.md index 43108c06db0..6e615d2e38d 100644 --- a/docs/getting-started-guides/vagrant.md +++ b/docs/getting-started-guides/vagrant.md @@ -184,11 +184,10 @@ ID Image(s) Host 78140853-3ffe-11e4-9036-0800279696e1 dockerfile/nginx 10.245.2.3/10.245.2.3 replicationController=myNginx Waiting ``` -You need to wait for the provisioning to complete, you can monitor the minions by doing +You need to wait for the provisioning to complete, you can monitor the minions by doing: ``` -$ vagrant ssh minion-1 -$ sudo docker images +$ sudo salt '*minion-1' cmd.run 'docker images' REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE 96864a7d2df3 26 hours ago 204.4 MB google/cadvisor latest e0575e677c50 13 days ago 12.64 MB