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

Docker Workshop - Campus Party 2019

Docker Workshop - Campus Party 2019

Slides do Workshop ministrado na Campus Party São Paulo 2019.

Fernando ike

February 15, 2019
Tweet

More Decks by Fernando ike

Other Decks in Technology

Transcript

  1. Workshop
    @fernandoike

    View Slide

  2. Fernando Ike
    IT Director @ Nuveo
    // [email protected]
    // linkedin.com/in/fernandoike
    // twitter.com/fernandoike
    // www.10deploys.com
    // https://www.maburix.com

    View Slide

  3. O que são containers
    Operating-system-level virtualization, also known as
    containerization, refers to an operating system feature in
    which the kernel allows the existence of multiple isolated
    user-space instances

    View Slide

  4. Definição da Docker
    A container is a standard unit of software that packages up
    code and all its dependencies so the application runs quickly
    and reliably from one computing environment to another. A
    Docker container image is a lightweight, standalone,
    executable package of software that includes everything
    needed to run an application: code, runtime, system tools,
    system libraries and settings.

    View Slide

  5. View Slide

  6. View Slide

  7. Container
    Infrastructure
    Hypervisor
    Docker
    App A
    Artifact
    Bin/Libs
    App B
    Bin/Libs
    App C
    Bin/Libs

    View Slide

  8. View Slide

  9. Requisitos
    ● Docker
    ● Docker compose
    ● Git
    ● Editor de texto
    ● Navegador web

    View Slide

  10. https://github.com/fike/docker-workshop/wiki
    https://github.com/fike/docker-workshop

    View Slide

  11. https://labs.play-with-docker.com/

    View Slide

  12. View Slide

  13. Considere...
    ● Não usar o usuário root nos serviços rodando nos
    containers
    ● Saiba usar os Capabilities
    ● Nem tudo precisa rodar em containers
    ● Use Multistage builds

    View Slide

  14. Referências
    ● https://en.wikipedia.org/wiki/Container_(virtualization)
    ● https://github.com/fike/docker-workshop/wiki
    ● https://labs.play-with-docker.com/
    ● https://www.docker.com/resources/what-container
    ● https://docs.docker.com/develop/develop-images/multistage-build/
    ● https://docs.docker.com/engine/security/security/
    ● https://github.com/gomex/docker-para-desenvolvedores
    ● https://training.play-with-docker.com/

    View Slide

  15. Fernando Ike
    IT Director @ Nuveo
    // [email protected]
    // linkedin.com/in/fernandoike
    // twitter.com/fernandoike
    // www.10deploys.com
    // https://www.maburix.com

    View Slide