wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
45.76k stars 1.75k forks source link

Online zero-install demo #430

Open agardnerIT opened 1 year ago

agardnerIT commented 1 year ago

I'd like to contribute a browser-based online demo version of this tool.

Please assign to me and I'll complete.

agardnerIT commented 1 year ago

This is now complete: https://killercoda.com/agardnerit/scenario/dive

I'd like to contribute this back to the project (so agardnerit in that URL changes to your username and you have full control over the demo).

If you'd like to do that, here's how:

  1. Sign up to killercoda.com
  2. Create a dedicated repo for killercoda tutorials (it can't be a folder in an existing repo unfortunately)
  3. Follow their docs to create the webhook
  4. Grab a copy of the tutorial from this folder (only this folder) and place in your repo
  5. That's it. Killercoda will see the changes on main and create the tutorial under your account

Disclaimer: I'm in no way connected to Killercoda, I just like the service.

georgettica commented 1 year ago

this seems like a lot of steps for a browser based demo of this version.. can this be easier for newcomers?

agardnerIT commented 1 year ago

To clarify:

Users

Can simply visit that hyperlink and use Dive in a browser virtual environment. Nothing to preinstall, everything is preconfigured and the left hand panel contains a markdown-based tutorial. Zero effort for users.

Maintainers

If the maintainers of this repository wish to take control of this tutorial, they follow the 1-5 steps. What this means is that instead of killercoda.com/agardnerit/scenario/dive the hyperlink would become killercoda.com/<SOME-USERNAME-YOU-WANT>/scenario/dive - and then the environment and markdown tutorial is entirely under the maintainers control, rather than living on my GitHub account.