All Stories

docker: Error response from daemon: failed to create shim task

Docker errors might not always be clear, so if you face: docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start...

In Docker, Nov 27, 2022

How to create a Docker image from a running container

If you find yourself connecting to a Docker container, so you could investigate an issue, update a .conf file, or whatever other reason, you are doing an anti-pattern. However, if you...

In Docker, Nov 26, 2022

Mount a single file as a Docker volume

There are few ways to mount a single file as a Docker volume whatever you are trying to spin a single container using docker run or being a part of a Docker Compose stack. This scenar...

In Docker, Nov 25, 2022

Install build-base on Alpine Linux

Build-base is pretty much the same as the build-essentials in Debian-based systems. It will provide the tools needed for building the kernel modules. Let’s see how to install build-ba...

In Alpine Linux, Nov 25, 2022

Resolve: "gyp verb check python checking for Python executable "python2" in the PATH"

While I was working locally on some Python project pulled from an archived Git repo, I needed few hours just to setup the environment on a Windows machine, and get it up and running. ...

In Python, Nov 24, 2022

Resolve: "WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)"

As I was trying to get my Python Docker Compose stack up and running on my MacBook Pro, I’ve noticed the following message: Warning: The requested image's platform (linux/amd64) does ...

In Docker, Nov 23, 2022

PS Command Not Found in Amazon Linux 2

Procps package might not be part of some Amazon Linux 2 docker images. So if you want to list the active processes you will get: ps command not found. It can be easily resolved by ins...

In PS, Amazon Linux 2, Nov 23, 2022

Resolve: "No module named <insert-package-name-here>" in Python

Building and compiling Python apps could be troublesome chiefly when copy-and-pasting another code from the internet without installing or importing the module itself. Sound familiar?...

In Python, Nov 22, 2022

Resolve: "No module named oauth2client" in Python

Just like the previous post Resolve: No module named apiclient.discovery in Python this time being:ModuleNotFoundError: No module named 'oauth2client'

In Python, Nov 21, 2022

Install FFmpeg on Ubuntu 22.04

Recently I was playing with telegram bots deployments and got stuck on some dependencies related to FFmpeg. So I needed to install FFmpeg on Ubuntu 22.04. Let’s see how to install it.

In FFmpeg, Ubuntu, Nov 21, 2022