How to Install Docker Compose v2 on Linux (2021)

In the video Docker Compose v2: What’s New in 2021: DevOps and Docker Live Show (Ep 126) Bret Fisher introduces compose v2. compose is an instrument for running multiple docker containers on your local machine. I use it often to spin up a database container and a separate application container. compose v2, a plugin for docker, is written from the ground up in Go and integrates better with existing tools.
Read more →

Setup Mariadb via Docker With Spring Boot

Setup Mariadb via Docker With Spring Boot
How to run MariaDB inside Docker and connect to it with Spring Boot Docker with MariaDB We’ll use yobasystems/alpine-mariadb, a lightweight container image using the open-source MariaDB as MySQL alternative. Here’s the docker command: docker run --name mariadb -p 33067:3306 -v /var/lib/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=root_pass -d yobasystems/alpine-mariadb The command will create a container named mariadb with a root password (root_pass). You can connect to the database via localhost on port 33067.
Read more →

Fake Webcam Background for Arch Linux With Docker (Using akvcam)

Fake Webcam Background for Arch Linux With Docker (Using akvcam)
Fake virtual backgrounds for your online meeting on Linux I’ve been attending a lot of video conference calls lately — like so many of us. Others had nice-looking virtual backgrounds. But there was no option to create those backgrounds on my Linux machine. For example, the Zoom version for Linux only allows me to “touch up my appearance”. But there is no option to set a virtual background.
Read more →

Free Pushbullet Alternative With Gotify on Heroku

Free Pushbullet Alternative With Gotify on Heroku
image from the Gotify website You have several devices and you want to receive notifications from your Android phone to your web browser (or vice versa). Maybe you also want to send notifications via REST API. You are a developer after all. You can think of interesting ways to send notifications. Pushbullet comes to mind, but you don’t want to sign up with Google or Facebook. You don’t want to use Google services.
Read more →

Friday Picks 077

Read more →

Friday Picks 073

Read more →

How to Run React Native Expo Web in a Docker Container

How to Run React Native Expo Web in a Docker Container
Sandbox your React Native development Expo CLI is a tool to install and run React Native applications. Expo is a toolchain that claims to be “the fastest way to build an app”. You can install those tools on your local machine. But maybe you want to create a stand-alone development environment using Docker containers. That way you can be sure of a consistent development environment across different machines.
Read more →

Using Docker Secrets With Docker Compose

Today I tried to create a docker secret for a Docker Swarm stack. Why? The secret is encrypted and you cannot read it. I’ve used environment variables before, but they are stored as plain text. You can see them if you inspect the Docker service/image. It took me a while to figure out how to use docker secrets with a docker-compose.yml. You can use Docker secrets both locally (docker-compose up) and for production (docker stack deploy).
Read more →

Traefik 2 Docker Swarm Setup With Docker Socket Proxy and More

Traefik 2 Docker Swarm Setup With Docker Socket Proxy and More
Advanced Traefik 2 Setup with Docker Swarm, SSL Certificates and Security Options Traefik is an open-source router and load-balancer that sits in front of your web services. You can set it up to automatically encrypt your websites with SSL certificates. It’s also easy to add new web services to an existing Traefik cluster. I discovered Traefik via Jakub Svehla’s post Building a Heroku-like infrastructure for $5 a month. He shows you how to use Docker to install a Traefik infrastructure on a cheap VPS like DigitalOcean.
Read more →

Friday Picks 065

Read more →

Sign up for the newletter!

powered by Buttondown