Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created April 11, 2015 15:18
Show Gist options
  • Save jbayer/5fba04bbb5a14c341448 to your computer and use it in GitHub Desktop.
Save jbayer/5fba04bbb5a14c341448 to your computer and use it in GitHub Desktop.
gist showing wsh commands
pintail:lattice jamesbayer$ ltc create lattice-app cloudfoundry/lattice-app
No port specified, image metadata did not contain exposed ports. Defaulting to 8080.
No working directory specified, using working directory from the image metadata...
Monitoring the app on port 8080...
No start command specified, using start command from the image metadata...
Start command is:
/lattice-app
Creating App: lattice-app
...11 Apr 08:15 [APP|0] Successfully created container
11 Apr 08:15 [APP|0] {"timestamp":"1428765351.428330660","source":"lattice-app","message":"lattice-app.lattice-app.starting","log_level":1,"data":{"port":"8080"}}
11 Apr 08:15 [APP|0] {"timestamp":"1428765351.428650379","source":"lattice-app","message":"lattice-app.lattice-app.up","log_level":1,"data":{"port":"8080"}}
.11 Apr 08:15 [HEALTH|0] healthcheck passed
11 Apr 08:15 [HEALTH|0] Exit status 0
11 Apr 08:15 [APP|0] Lattice-app. Says Hello. on index: 0
lattice-app is now running.
App is reachable at:
http://lattice-app.192.168.11.11.xip.io
pintail:lattice jamesbayer$ vagrant ssh
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Fri Apr 10 06:11:48 2015 from 10.0.2.2
vagrant@ubuntu-trusty-64:~$ cd /var/lattice/garden/depot/
vagrant@ubuntu-trusty-64:/var/lattice/garden/depot$ ls
kvtmtfhudc5 kvtmtfhudc6 kvtmtfhudc7 kvtmtfhudc8 kvtmtfhudc9 kvtmtfhudca kvtmtfhudcb kvtmtfhudcc
vagrant@ubuntu-trusty-64:/var/lattice/garden/depot$ ls -al
total 40
drwxr-xr-x 10 root root 4096 Apr 11 15:15 .
drwxr-xr-x 8 root root 4096 Apr 10 06:03 ..
drwxr-xr-x 2 root root 4096 Apr 11 15:01 kvtmtfhudc5
drwxr-xr-x 2 root root 4096 Apr 11 15:02 kvtmtfhudc6
drwxr-xr-x 2 root root 4096 Apr 11 15:02 kvtmtfhudc7
drwxr-xr-x 2 root root 4096 Apr 11 15:04 kvtmtfhudc8
drwxr-xr-x 2 root root 4096 Apr 11 15:06 kvtmtfhudc9
drwxr-xr-x 2 root root 4096 Apr 11 15:08 kvtmtfhudca
drwxr-xr-x 2 root root 4096 Apr 11 15:13 kvtmtfhudcb
drwxr-xr-x 9 root root 4096 Apr 11 15:15 kvtmtfhudcc
vagrant@ubuntu-trusty-64:/var/lattice/garden/depot$ cd kvtmtfhudcc
vagrant@ubuntu-trusty-64:/var/lattice/garden/depot/kvtmtfhudcc$ bin/wsh
connect: Permission denied
vagrant@ubuntu-trusty-64:/var/lattice/garden/depot/kvtmtfhudcc$ sudo su
root@ubuntu-trusty-64:/var/lattice/garden/depot/kvtmtfhudcc# bin/wsh
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment