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

Containers Revealed

Containers Revealed

Sean Scott

August 28, 2023
Tweet

More Decks by Sean Scott

Other Decks in Technology

Transcript

  1. Containers Revealed: As Easy as Tic-Tac-Toe @ViscosityNA www.viscosityna.com Latin America

    Oracle User Group Community Tour '23 July 29 - August 16, 2023 Sean Scott Oracle ACE Director DoK Community Ambassador Managing Principal Consultant @oraclesean linkedin.com/in/soscott/ [email protected]
  2. DATABASE RELIABILITY ENGINEERING ⁘ DEVOPS & AUTOMATION HIGH AVAILABILITY ⁘

    BUSINESS CONTINUITY ⁘ DISASTER RECOVERY MODERNIZATION ⁘ OBSERVABILITY ⁘ ENGINEERED SYSTEMS AutoUpgrade ⁘ Zero Downtime Migrations ⁘ Patching Real Application Clusters ⁘ Data Guard ⁘ Sharding Docker/Containers ⁘ Terraform ⁘ Ansible Exadata ⁘ Oracle Database Appliance AHF ⁘ TFA ⁘ GIMR ⁘ CHA @ViscosityNA www.viscosityna.com Sean Scott Oracle ACE Director DoK Community Ambassador Managing Principal Consultant @oraclesean linkedin.com/in/soscott/ [email protected]
  3. @ViscosityNA www.viscosityna.com Oracle on Docker Running Oracle Databases in Linux

    Containers Download a free sample chapter: https://oraclesean.com 20% Discount Code: OracleDocker https://link.springer.com
  4. @ViscosityNA www.viscosityna.com www.viscosityna.com @ViscosityNA 13 Oracle Databases on a Laptop

    2018 MacBook Pro 15", 2.2GHz 6-core Intel Core i7, 16GB, 1TB SSD
  5. @ViscosityNA www.viscosityna.com Virtual Machines: Bootable OS, often heavy A 100-page

    book of games & puzzles Containers: Support one application or service A sheet of paper with a Tic-Tac-Toe grid
  6. @ViscosityNA www.viscosityna.com Stateful Stateless Persistent Immutable Ephemeral Cloud Native Context

    Builds Layers Images Services Dockerfile Containers Union Filesystems
  7. @ViscosityNA www.viscosityna.com A Union Filesystem has three layers: A Merge

    or Union Layer: The game. An Upper Layer: The container. A Lower Layer: The image.
  8. @ViscosityNA www.viscosityna.com The Upper (merge) layer isn't "real." It's a

    perceived (calculated) union of: • The game board & rules • Game play
  9. @ViscosityNA www.viscosityna.com How much space do three containers use? 500MB


    + 500MB
 + 500MB 500MB 500MB
 + 500MB
 + 500MB 1,500MB 500MB 500MB 500MB +
  10. @ViscosityNA www.viscosityna.com Images are the minimum collection of files and

    directories needed to run an application. They are immutable and stateless.
  11. @ViscosityNA www.viscosityna.com Running an image creates a container as the

    upper layer of a union filesystem, superimposed over the image, and starts an isolated process for container activity. Containers are stateful, ephemeral, and persist data to the filesystem.
  12. @ViscosityNA www.viscosityna.com All containers share the same image, allowing them

    to achieve tremendous capacity. Containers are efficient and fast because there is nothing to “boot” or copy.
  13. @ViscosityNA www.viscosityna.com Images are portable across clouds, operating systems, and

    container engines. Images run identically: • in Docker, Podman, Kubernetes, etc.; • on Mac, Windows, or Linux; • and in any Cloud!