$ fig run --rm web echo
Traceback (most recent call last):
File "/usr/local/Cellar/fig/1.0.1/libexec/bin/fig", line 9, in <module>
load_entry_point('fig==1.0.1', 'console_scripts', 'fig')()
File "/usr/local/Cellar/fig/1.0.1/lib/python2.7/site-packages/fig-1.0.1-py2.7.egg/fig/cli/main.py", line 31, in main
File "/usr/local/Cellar/fig/1.0.1/lib/python2.7/site-packages/fig-1.0.1-py2.7.egg/fig/cli/docopt_command.py", line 21, in sys_dispatch
File "/usr/local/Cellar/fig/1.0.1/lib/python2.7/site-packages/fig-1.0.1-py2.7.egg/fig/cli/command.py", line 28, in dispatch
File "/usr/local/Cellar/fig/1.0.1/lib/python2.7/site-packages/fig-1.0.1-py2.7.egg/fig/cli/docopt_command.py", line 24, in dispatch
File "/usr/local/Cellar/fig/1.0.1/lib/python2.7/site-packages/fig-1.0.1-py2.7.egg/fig/cli/command.py", line 56, in perform_command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host ec2-name.aws.com | |
| HostName nameofhost | |
| User root | |
| RemoteForward 7990 stash.natera.local:7990 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| chroot /var/lib/haproxy | |
| user haproxy | |
| group haproxy | |
| maxconn 24576 | |
| daemon | |
| {{with $syslog := key "service/firehose/syslog_endpoint"}} | |
| {{if $syslog != ""}} | |
| log {{$syslog}} local0 warning | |
| log-send-hostname |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parallel() { | |
| declare cmd="$@" | |
| declare -a pids | |
| for line in $(cat); do | |
| eval "${cmd//\{\}/$line} &" | |
| pids+=($!) | |
| done | |
| local failed=$((0)) | |
| for pid in ${pids[@]}; do | |
| if ! wait $pid; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SSHKit::Runner::ExecuteError: Exception while executing as core@52.10.107.235: nil is not a symbol | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/padrino-support-0.12.4/lib/padrino-support/core_ext/string/colorize.rb:22:in `colorize' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/color.rb:16:in `bold' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/formatters/pretty.rb:23:in `write_command' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/formatters/pretty.rb:10:in `write' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/backends/netssh.rb:134:in `block in _execute' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/backends/netssh.rb:133:in `tap' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit-1.6.1/lib/sshkit/backends/netssh.rb:133:in `_execute' | |
| /Users/andy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/sshkit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=registrator | |
| Documentation=https://github.com/progrium/registrator | |
| X-Image=progrium/registrator | |
| [Service] | |
| EnvironmentFile=/etc/environment | |
| ExecStart=/bin/sh -c "docker run \ | |
| --name %p-%i \ | |
| -v /var/run/docker.sock:/tmp/docker.sock \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "yungsang/coreos-alpha" | |
| config.vm.provider :virtualbox do |vb| | |
| vb.memory = 2048 | |
| vb.cpus = 2 | |
| vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo btrfs fi show / | |
| Label: 'ROOT' uuid: f405d3b7-2e1d-4456-9d38-02eb3327aada | |
| Total devices 1 FS bytes used 2.47GiB | |
| devid 1 size 13.62GiB used 13.62GiB path /dev/xvda9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ machine --debug create -d digitalocean demo3 | |
| INFO[0000] Creating SSH key... | |
| DEBU[0000] executing: /usr/bin/ssh-keygen ssh-keygen -t rsa -N -f /Users/andy/.docker/machines/demo3/id_rsa | |
| Generating public/private rsa key pair. | |
| Your identification has been saved in /Users/andy/.docker/machines/demo3/id_rsa. | |
| Your public key has been saved in /Users/andy/.docker/machines/demo3/id_rsa.pub. | |
| The key fingerprint is: | |
| fc:40:93:aa:de:c0:a1:c4:f2:e6:21:3b:21:39:eb:1c andy@Andys-MBP.attlocal.net | |
| The key's randomart image is: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| machine --debug create --driver virtualbox dev1 | |
| DEBU[0000] executing: VBoxManage | |
| Oracle VM VirtualBox Command Line Management Interface Version 4.3.20 | |
| (C) 2005-2014 Oracle Corporation | |
| All rights reserved. | |
| Usage: | |
| VBoxManage [<general option>] <command> |