Skip to content

Instantly share code, notes, and snippets.

View murillomr7's full-sized avatar

Murillo Miranda Raggiotto murillomr7

View GitHub Profile
@murillomr7
murillomr7 / launch_sublime_from_terminal.markdown
Last active August 29, 2015 13:56 — forked from artero/launch_sublime_from_terminal.markdown
Launch Sublime via Shell (Mac OS X)

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

******** PARTE 1 - COMANDOS BÁSICOS
## Para listar as imagens existentes localmente
-> docker images
## Criar um novo container (a partir de uma imagem)
-> docker run -it centos /bin/bash
run > executar uma imagem
-i > interatividade