- Markdown style
 
[](https://youtu.be/nTQUwghvy5Q)- HTML style
 
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">| /* Express Route Adapter */ | |
| const resolver = (handlerFn) => { | |
| return (req, res, next) => { | |
| return Promise.resolve(handlerFn(req, res, next)) | |
| .catch(e => next(e)); | |
| } | |
| } | |
| /* Errors */ | |
| class InternalServerError extends Error { | 
| Segue a lista de comandos docker e sua utilidade: | |
| docker attach – Acessar dentro do container e trabalhar a partir dele. | |
| docker build – A partir de instruções de um arquivo Dockerfile eu possa criar uma imagem. | |
| docker commit – Cria uma imagem a partir de um container. | |
| docker cp – Copia arquivos ou diretórios do container para o host. | |
| docker create – Cria um novo container. | |
| docker diff – Exibe as alterações feitas no filesystem do container. | |
| docker events – Exibe os eventos do container em tempo real. | |
| docker exec – Executa uma instrução dentro do container que está rodando sem precisar atachar nele. | 
| # Author: Zameer Ansari | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # http://wiki.nginx.org/Pitfalls | |
| # http://wiki.nginx.org/QuickStart | |
| # http://wiki.nginx.org/Configuration | |
| # | |
| # Generally, you will want to move this file somewhere, and start with a clean | |
| # file but keep this around for reference. Or just disable in sites-enabled. | |
| # |