Create Alpine Linux VM with VirtualBox

Today a tutorial for creating a Alpine Linux VM with VirtualBox. The only limitation is that VirtualBox is already installed. Furthermore,  all of the steps are performed in the terminal (without VirtualBox-GUI).

Creation of VM

Basic Alpine installation

Note: if you have an answers file you can do…

Remove medium (ISO)

Update Packages and install VirtualBox additions

Optional steps

Explain Shell direct from terminal

Explainshell.com rocks! Nevertheless, you lose time to leave the terminal (open browser, copy-paste). But there is a cool solution from ManKier. All what you need is curl.

Usage

Simpler usage

With a tiny script it will be more comfortable! Add the following to your .bashrc or .bash_profile (MAC OS X).

Now you can do …

… if you insert only “explain” an interactive mode will started!

Create own Docker port scanner

Today’s tutorial shows how quickly and easily a Docker port scanner can be created. With the knowledge you can then create additional Docker applications.

Preparation

Dockerfile

Usage

Feel free to edit and/or expand! Knocker self can be found here.

Apache Jmeter and Docker

Okay, this time we will create a Docker-Jmeter test environment. We create some simple (but tiny) Docker images/containers which can be reused for future test runs. Here we follow the DRY rule. Next, we want to achieve.

Preconditions

  • docker installed and running

Preparation

Dockerfile JAVA

Dockerfile Jmeter

JMX file

Create or copy existing JMX file on folder “/tutorial/jmx” with name “simple.jmx”.

Create Jmeter container

Note: The container was created but not running!

Test execution

:)