Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Docker

 Docker

Breve resumo teórico sobre e demonstração sobre como levantar um projeto usando apenas Docker.

Dmitry Rocha

October 06, 2016
Tweet

More Decks by Dmitry Rocha

Other Decks in Technology

Transcript

  1. ”Docker provides an additional layer of abstraction and automation of

    operating-system-level virtualization on Linux. Docker uses the resource isolation features of the Linux kernel such as cgroups and kernel namespaces, and a union-capable file system such as aufs and others to allow independent ”containers” to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines.”1 1Source: https://en.wikipedia.org/wiki/Docker_(software) 3 / 20
  2. ”Docker provides an additional layer of abstraction and automation of

    operating-system-level virtualization on Linux.” 8 / 20
  3. Como faz? wget -nv -O - https://get.docker.com/ | sh Debian,

    Fedora, Oracle, CentOS, RedHat 13 / 20
  4. Setup de app (exemplo peba2): cp config/database.yml.template config/database.yml docker -compose

    run app rake db:setup cp config/chewy.yml.template config/chewy.yml docker -compose run app rake crawler:run docker -compose up app 2https://github.com/dmitryrck/peba 14 / 20
  5. Aê ▶ Containers com Docker, Daniel Romero - Casa do

    Código.3; ▶ Renato Filho4; ▶ Gustavo ”Do Python” Carvalho5; 3https://www.casadocodigo.com.br/products/livro-docker 4@renatofh 5@gt_salles 17 / 20
  6. Onde me encontrar? ▶ @dmitryrck; ▶ Teresina Hacker Space /o/

    Sábado a tarde, depois das 14h; 18 / 20