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

Dockercon 2017 recap (Meetups Docker SP e Campi...

Dockercon 2017 recap (Meetups Docker SP e Campinas)

Palestra apresentada dia 06 de maio de 2017 no 3º meetup de Docker em Campinas ministrado na Daitan Group e no dia 02 de maio de 2017 no 12º meetup de Docker em São Paulo ministrado no auditório do Nubank. Mostramos como foi o planejamento e o acompanhamento da Dockercon 2017 e também as novidades lançadas lá em Austin, TX.

Wellington F. Silva

May 07, 2017
Tweet

More Decks by Wellington F. Silva

Other Decks in Technology

Transcript

  1. $ whoami • @_wsilva • wsilva, boina, tom, fisi •

    Pai, téc. em telecom, programador, sysadmin, instrutor (bit.ly/curso-docker), escritor (Aprendendo Docker)
  2. Multi-Stage Build Instalar wget Baixar Docker (wget) Baixar Cuberite (wget)

    Build Dockercraft (go build dockercraft) Rodar Dockercraft
  3. Multi-Stage Build Instalar wget Baixar Docker (wget) Baixar Cuberite (wget)

    Build Dockercraft (go build dockercraft) Rodar Dockercraft
  4. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  5. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  6. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  7. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  8. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  9. Multi-Stage Build FROM alpine:3.5 AS wget RUN apk add --no-cache

    ca-certificates wget tar FROM wget AS docker ARG DOCKER_VERSION=1.12.1 RUN wget -qO- https://get.docker.com/ builds/Linux/x86_64/docker-$ {DOCKER_VERSION}.tgz | \ tar -xvz --strip-components=1 -C /bin FROM wget AS cuberite ARG CUBERITE_BUILD=630 WORKDIR /srv RUN wget -qO- "https:// builds.cuberite.org/job/Cuberite Linux x64 Master/${CUBERITE_BUILD}/artifact/ Cuberite.tar.gz" |\ tar -xzf - FROM golang:1.7.1 AS dockercraft WORKDIR /go/src/github.com/docker/ dockercraft COPY . . RUN go install FROM debian:jessie COPY --from=dockercraft /go/bin/ dockercraft /bin COPY --from=docker /bin/docker /bin COPY --from=cuberite /srv /srv # Copy Dockercraft config and plugin COPY ./config /srv/Server COPY ./docs/img/logo64x64.png /srv/ Server/favicon.png COPY ./Docker /srv/Server/Plugins/ Docker EXPOSE 25565 ENTRYPOINT ["/srv/Server/start.sh"]
  10. Desktop2Cloud • Permite gerenciar repositórios e swarms diretamente do Docker

    for Mac e Windows • Todos os swarms onde você tem acesso (mesmo que não seus) aparecem listados.
  11. Linuxkit • Foi aberto opensource durante o keynote do Solomon

    Hykes. • Permite criar sistemas Linux extremamente leves, seguros, e de uma maneira muito simples, que rodem contêineres e usando arquivos yml • É usado na criação da VM do Docker for Mac / Windows • Provavelmente será doado para a Linux Foundation
  12. Moby Project • Nada muda pra quem usa Docker •

    Moby é o projeto, Docker o produto • Inspirado no case Fedora e Red Hat • Os repositórios servem como “cola" para o produto Docker
  13. Moby Project • O que era opensource permanece opensource •

    Mais alguns repos ainda fechados aos poucos serão abertos (como o Linuxkit)
  14. Outras novidades • Possibilidade de utilizar ARG no FROM do

    Dockerfile • Microsoft já usando Linuxkit junto com HyperV para rodar contêineres Linux • Oracle entra oficialmente no Docker Store (Docker Hub) inclusive com imagens para comunidade (Docker-CE)