Level Up Your Slim.AI Swag Game

We’re at KubeCon EU 2022 in Valencia Spain :es: and we have some community challenges running to level up your Slim.AI swag :gift:

Here are our swag challenges, with each explained in the posts that follow :point_down:

Come and visit us at Pavilion 1, Zone Grapefruit, booth SU47, join us in the Slim.AI KubeCon Virtual booth or in the Slim.AI Discord

  • In-person attendees can participate in all the challenges.
  • Virtual attendees can participate in the Level 3: Community Member challenge
    • Sorry, we can’t ship stickers and t-shirts to virtual attendees, but you are welcome to complete all the challenges! :slightly_smiling_face:
  • Stickers and t-shirts are only available while stocks last! :scream:

Level 1: Follower

  • Follow @SlimDevOps on Twitter :bird:
    • Bonus points for liking this post :sparkling_heart: when you complete this task.
  • Visit us at Pavilion 1, Zone Grapefruit, booth SU47 to claim your sticker :sparkles:
4 Likes

Level 2: Researcher

  • Download the Slim.AI Container Report to learn What We Discovered Analyzing the Top 100 Public Container Images :student:
    • Bonus points for liking this post :sparkling_heart: when you complete the task.
  • Visit us at Pavilion 1, Zone Grapefruit, booth SU47 to claim your t-shirt :tshirt:
3 Likes

Level 3: Community Member

KubeCon EU 2022 virtual attendees can participate in this challenge! :+1:

Level 4: Designer

  • Complete Level 2.
  • Come back to see us at booth SU47 wearing your Slim.AI t-shirt :tshirt:
    • For extra achievement points tweet a photo :selfie: of you wearing your Slim.AI t-shirt :tshirt: and tag @SlimDevOps :bird:
  • Visit us at Pavilion 1, Zone Grapefruit, booth SU47 to claim your full set of Codi stickers :sparkles:

Level 5: Container Optimizer

If you want somewhere to work on this task, there are several desks with power :zap: and Wifi right next to our booth at Pavilion 1, Zone Grapefruit, SU47 :+1:

  • Install DockerSlim :package:
  • XRAY a container using DockerSlim :xray:
  • View XRAY results with Slim.AI Developer Platform :mag_right:
  • Optimise a container using DockerSlim :pinching_hand:
  • Visit us at Pavilion 1 booth SU47 and show us your optimised container results, to collect your vintage Slim.AI socks :socks:

Here’s a quick start guide to help you complete this task :memo: We’re happy to help you in person if you visit us at Pavilion 1 booth SU47 and answer any questions you might have about Slim.AI and DockerSlim :ring_buoy:

1. Install DockerSlim

You can find comprehensive installation instructions for DockerSlim on GitHub, but you can use this script to install DockerSlim on Linux :penguin: (x86 and ARM) and macOS :green_apple: (x86 and Apple Silicon)

curl -sL https://raw.githubusercontent.com/docker-slim/docker-slim/master/scripts/install-dockerslim.sh | sudo -E bash -

2. XRAY a container

First, pull the nginx container

docker pull nginx:latest

docker-slim XRAY creates a detailed view of container layer construction, contents and other metadata. The ourput from docker-slim xray nginx:latest is verbose, but we can also create an XRAY and visualize this data, and more, in a human-friendly way using the Slim.AI Developer Platform.

3. View XRAY results with Slim.AI Developer Platform

docker-slim xray --export-all-data-artifacts . nginx:latest >/dev/null

Upload data-artifacts.tar to https://portal.slim.dev/xrayupload. When the upload and analysis is complete, you can look at the container Overview, the File Explorer for the image of discrete layers and the Dockerfile.

4. Optimize a container using DockerSlim

You’ll find detailed documentation about how to optimize containers on the DockerSlim GitHub project and we also have a collection of DockerSlim example projects using various languages and frameworks.

docker-slim build nginx:latest

Congratualtions! :medal_sports: Execute docker images and you’ll see the original nginx:latest and optimized nginx.slim:latest :pinching_hand: container images. Come and visit us at Pavilion 1, Zone Grapefruit, Booth SU47 to claim your vintage Slim.AI socks :socks:

5. Bonus :gift_heart:

You can now use the Slim.AI SaaS platform to search for container images across registries and then explore, analyze and optimize those container images.