From 5dc5fdfc3b0347ab2eb934ffb3457e0dbff45df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20=C3=81lvaro?= Date: Tue, 22 Jan 2019 20:36:34 +0100 Subject: [PATCH] Update Usage documentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a60079bb..f76c87f0 100644 --- a/README.md +++ b/README.md @@ -236,16 +236,16 @@ docker run --name salt_master -d \ ## Usage -To test which salt minions are listening the following command can be executed from the master service: +To test which salt minions are listening the following command can be executed directly from the host machine: ```sh -docker-compose exec master salt '*' test.ping +docker exec -it salt_master salt '*' test.ping ``` Then, you can apply salt states to your minions: ```sh -docker-compose exec master salt '*' state.apply +docker exec -it salt_master salt '*' state.apply [state] ``` ## Shell Access