Skip to content

Instantly share code, notes, and snippets.

@moali87
Created August 26, 2015 15:38
Show Gist options
  • Save moali87/2f94670f530dc25e3b4f to your computer and use it in GitHub Desktop.
Save moali87/2f94670f530dc25e3b4f to your computer and use it in GitHub Desktop.
[DEV [email protected] salt-master]# docker run -itd salt-master:latest /bin/bash
bbf3d9b9aa7ab2248cbdc7c1a6d56798d3075f9df449e3941e7f97244b002371
[DEV [email protected] salt-master]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bbf3d9b9aa7a salt-master:latest "/bin/bash" 8 seconds ago Up 7 seconds dreamy_banach
9c8da598d4bd salt-master:latest "/bin/sh -c salt-mast" About a minute ago Up About a minute salt4
da8f6540f936 salt-master "/bin/sh -c salt-mast" 2 minutes ago Up 2 minutes salt3
4b311c57b7c8 salt-master "/bin/sh -c salt-mast" 3 minutes ago Up 3 minutes salt2
c3f6286f076c salt-master "/bin/sh -c salt-mast" 14 minutes ago Up 14 minutes salt
ec97c3fcdf1e salt-minion "salt-minion" About an hour ago Up About an hour suspicious_hodgkin
5583cb48f4e8 salt-minion "salt-minion" About an hour ago Up About an hour gloomy_visvesvaraya
ce66ca1cc467 salt-minion "salt-minion" 17 hours ago Up 17 hours insane_pike
2ec752ad21cf salt-minion "salt-minion" 17 hours ago Up 17 hours suspicious_bose
[DEV [email protected] salt-master]# docker exec bbf3d9b9aa7a salt-minion
[INFO ] Setting up the Salt Minion "build22.dev.iad.resonatedigital.net"
[WARNING ] /var/cache/salt/minion/extmods/grains/app.versions.py:2: RuntimeWarning: Parent module 'salt.loaded.ext.grains.app' not found while handling absolute import
import logging
[WARNING ] /var/cache/salt/minion/extmods/grains/app.versions.py:3: RuntimeWarning: Parent module 'salt.loaded.ext.grains.app' not found while handling absolute import
import re
[WARNING ] /var/cache/salt/minion/extmods/grains/app.versions.py:7: RuntimeWarning: Parent module 'salt.loaded.ext.grains.app' not found while handling absolute import
from subprocess import Popen, PIPE
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO ] Starting new HTTP connection (1): master-dev01.dev.iad.resonatedigital.net
[ERROR ] Installed boto version 2.2.2 < 2.8, can't find ec2_tags
^C[DEV [email protected] salt-master]# docker exec bbf3d9b9aa7a salt-master
exec: "salt-master": executable file not found in $PATH
[DEV [email protected] salt-master]# docker exec dreamy_banach salt-master
exec: "salt-master": executable file not found in $PATH
[DEV [email protected] salt-master]# docker run -it salt-master:latest /bin/bash
root@bda96fbfd856:/# salt-minion
bash: salt-minion: command not found
root@bda96fbfd856:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment