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

Containers Are Not VMs!

Containers Are Not VMs!

This workshop was a follow-up to my proposed talk on the subject of the official Nextcloud Docker image. In this workshop we covered:

- Overview of the current official image vs my proposed new image
- How to build/run the new image
- What improvements can we make to better support the Nextcloud 12 feature set

The intended output of this session was an improved Dockerfile for Nextcloud which can be considered for production use.

No prior knowledge of Docker was assumed, but workshop participants should have Docker installed on their machines to gain the most out of this session.

Paul Finlayson Adams

August 27, 2017
Tweet

More Decks by Paul Finlayson Adams

Other Decks in Technology

Transcript

  1. ST REAMLI NING TH E N E X T C

    L O U D D O C K E R EX PERI ENC E C O N TA I N E R S A R E N O T V M S ! 0 8 - 2 0 1 7 D R . PA U L J A M E S A D A M S
  2. [email protected] @therealpadams baggerspion.net D R . PA U L J

    A M E S A D A M S Search & Personalisation Engineering Lead 0 8 - 2 0 1 7
  3. 3 WHERE DID ALL THIS STUFF COME FROM? “Junk” by

    Chris McInnis (https://flic.kr/p/pS8hp8)
  4. N E X T C L O U D I

    M A G E C O N T E N T S Debian Jessie 123mb PHP 7.1-fpm 259mb Nextcloud 170mb ? Stuff 82mb 6 3 4 M B
  5. 5 A L P I N E L I N

    U X C R U F T R E M O VA L PHP Saves 119mb from the base image! Do we need an entire PHP distribution? 1. Identify Cruft. 2. Remove Cruft. 3. Profit! WHAT ARE THE QUICK WINS?