cloud · docker · linux · ppc64le · s390x · x86_64

docker: creating multi-arch images

One of the great advantages of using containers [1] is that it brings flexibility to you deployments. You can have a container configured with everything you need and move it around to be executed where you want, which is a time saving approach (and reminds me of the Java’s WORA [2]: write once, run anywhere).… Continue reading docker: creating multi-arch images

kubernetes · macos · minishift · openshift · x86_64

minishift: could not set oc CLI context for ‘minishift’ profile

I decided to install Minishift in the MacOS I’m using and during my first attempt I got the following (I pasted the full log): It took me a good amount of time to discover that doing the following solves the issue: And enables me to have Minishift up and running in MacOS:  

container · docker · linux · macos · x86_64

ubuntu: Err:1 https://dl.yarnpkg.com/debian stable InRelease

I was updating the docker image I use to do Linux stuff within a macOS Mojave and during the update, this error message appeared: To fix it, I had to import the the public key for that repository: With that, everything worked as expected:

cloud · docker · kubernetes · linux · x86_64

x86_64: Installing Minikube

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day [1]. This is a step-by-step installation guide that puts togheter in a single page all required steps to install… Continue reading x86_64: Installing Minikube

go · linux · ppc64le · s390x · x86_64

linux: configuring your Go development environment

Working daily with Docker and Kubernetes and several workloads written in GO is a very common task for me. Likewise, configuring a development environment on brand new VMs. To make this process easier, I wrote a simple script that automatically downloads and install the latest version of Go for Linux for x86_64, ppc64le and s390x… Continue reading linux: configuring your Go development environment

linux · ppc64le · x86_64

linux: Am I running in a VM?

I had to identify which kind of environmet my Linux was running (bare-metal or virtualized), to do so I did the following: You can also do:

linux · ppc64le · x86_64

linux: turn off password expiration

To disable password expiration for user <username>, use the following command: