Learn and teach with Katacoda

I used Katacoda scenarios to quickly learn few things in the past. The advantage of katacoda is that it includes practice editor and terminal on the right side of the screen where I can copy&paste commands with just one click. It makes it possible to learn stuff in 3–4 minutes instead of spending hours on video training looking myself for the place to practice. And what makes katacoda even better is that it allows to create learning scenarios very easy. Just create your profile referencing github.com/{user name} account and repo with hello-world example will be created for you , together with webhook to update content on https://katacoda.com/{user name} after every commit.

Github repo with hello-world repo

I modified slightly hello-world example and after commit have it available at https://katacoda.com/niuk. This scenario has a couple of markdown files which can be generated by katacoda cli boilerplate tool. The index.json which links all of them and is self explanatory.. It has also terminal defined as UI environment and bash as backend where command will be typed or pasted.

Katacoda index.json

There are more environments available than bash, I created second second scenario with Ubuntu in the repo hello-world-ubuntu using katacoda cli for boilerplating

myPC@me:/mnt/c/Users/irekromaniuk/katacoda-scenarios$ katacoda create scenario
Creating New Katacoda Scenario. Please complete the following details to generate scenario template.

After commit, the environment is being created what can be seen on katacoda profile.

Katacoda creating Ubuntu environment

Unfortunately there were some problems

Getting error with env set to Ubuntu

But after a few minutes I tried again, and all looked good. I got Ubuntu my prompt

Your Interactive Bash Terminal.

I can install packages with apt install, curl http://example.or, run git (version 2.7.4), even ping etc. The disk size is 45G and 3G of memory ? Looks too good. I can also edit files in the GUI editor.

$ touch new
$ cat new
modified

I’m looking forward to create free courses, testing file uploads and executing commands to prep the environment.

My created content so far

Here are my NNs ‘nanonotes’, excuse the brevity and typos. I’m based in RI, working as security and automation engineer for a fin-tech company in Boston.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store