Docker is not the only tool to work with containers

Docker vs. Podman+Buidah+Skopeo
Docker vs. Podman+Buidah+Skopeo
Docker vs. Podman+Buidah+Skopeo —Image by Chairat Onyaem (Par)

We often use Docker when we talk about containers, similar to we use ‘Coke’ when we talk about carbonated soft drink. We all know that Coke is not the only brand that sells carbonated soft drink. Same to Docker, it is not the only one that does containers.

Why not Docker

Docker has been around for quite a while and it is a good tool. It is one of the very first thing I always tell junior developers to study when they start their first job from school.


Image for post
Image for post
A man standing on top of a mountain — Le Ngoc Tan

Updated Jan 2019: Azure Container Service (ACS) has been replaced by Azure Kubernetes Service (AKS). Please refer to this guide on how to easily create an AKS cluster.

Table of Contents

1. Create Application ID

1) Go to Azure Active DirectoryApp registrations and click New application registration


Image for post
Image for post

Introduction

SSH is the way to connect and command your Linux machine. Doing this from Windows is even more painful as you need a client like Putty installed (Or enable built-in SSH if you’re using Windows 10).

What is Wetty?

Wetty = Web + tty.

Terminal over HTTP and HTTPS. Wetty uses ChromeOS’ terminal emulator (hterm) which is a full fledged implementation of terminal emulation written entirely in Javascript. Also it uses websockets instead of Ajax and hence better response time.

Source: https://github.com/krishnasrinivas/wetty

Prerequisite

  • Ubuntu Server with Docker installed (See this blog on how to get one on…


Image for post
Image for post

In my last blog, I’ve explained about deployment pipeline I built for Continuous Integration and Continuous Delivery in ABAP. Another thing that our team has built was the application monitoring.

What is Prometheus?


In my recent project, we are building Java miniservices that connect to SAP backend via RESTful APIs. The team has setup a CI/CD pipeline in Jenkins to automate build, test, and deploy of those Java services. At the time we had the pipeline, I have realized the benefits for having such pipeline and that became my motivation to build one for ABAP.


Image for post
Image for post

In my last blog, we’ve create a Hello Application easily without any coding and deployed it to the cloud.

Prerequisites

Push Your Codes to Git

  1. Install Git client if you haven’t done so. (Windows:choco install git)
  2. Setup Git
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

3. Add .gitignore file to your project folder. The file should contain one line:

target

4. Init and commit local repository

git init
git add .
git commit -m "Your commit…


Image for post
Image for post

Introduction of Cloud Foundry on SAP Cloud Platform enables a lot of possibilities to deploy various applications on the cloud. Jenkins is one of the most asked and some people may struggle to find a place to run it.

Download Jenkins.war

Go to https://jenkins.io/download/ and download Generic Java Package (war) of the version you prefer.

Deploy Jenkins on Cloud Foundry

Login

Connect to Cloud Foundry using CLI. (See how to download here).

cf api https://api.cf.eu10.hana.ondemand.com
cf login

Deploy Jenkins

We’re going to deploy Jenkins.war using this special buildpack.

cf push <path_to_jenkins.war> -b https://github.com/Altoros/jenkins-buildpack -m 2G…


Image for post
Image for post

The introduction of S/4HANA Cloud SDK makes it even easier to develop cloud applications and integration with back-end SAP and cutting-edge tools and technologies like Hystrix, Docker, and Jenkins.

Prerequisite

Make sure you have a trial account on Cloud Foundry. If not, get one from here.

  • JDK
  • Maven
  • Cloud Foundry CLI

On Windows, you can use these commands to install those softwares with Chocolatey:

choco install jdk8
choco install maven
choco install…


Image for post
Image for post

If you get alien characters in console log of your job like this:


Cloud Foundry and Neo Environment

Image for post
Image for post

SAP Cloud Platform supports running J2EE applications. But most develops are not building Java Web Application from EJB/Servlet any more. They rather use framework to build up their app. Spring Framework from Pivotal is a popular one which you can build rapidly with just a few lines of codes and it is open source.

About

Chairat Onyaem (Par)

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