Welcome to new things

[Technical] [Electronic work] [Gadget] [Game] memo writing

Docker

The story of how I moved to WSL2 because Puppeteer stopped working at WSL1.

I have been using WSL1 and was thinking of using WSL2 sometime in the future when it becomes more stable, but now I have moved to WSL2 out of necessity. I'm going to write about the transition from WSL1 to WSL2 and the related Docker and X…

Docker's puppeteer suddenly stopped working.

I usually use puppeteer for web crawling and I use Docker to run puppeteer. I had to add a crawl item and when I modified the program and built and ran it on Docker, it did not work with the following error. /node_modules/puppeteer/.local-…

How to split logs into tabs for each container in Docker Compose

When I want to link multiple containers together, I use Docker Compose. When you run Docker Compose, you will see the logs for each container, but you will see the logs for all containers on one screen. I want to follow the log for each co…

Are there two docker images for Jenkins, the official Docker and the official Jenkins...

I wanted to use Jenkins with Docker, so I got a Jenkins image and used it. FROM jenkins:alpine Occurrence of a problem Every time I tried to install a plugin in the Jenkins setup, I got an error. Is there two docker images for ? The reason…

How to switch between multiple clusters in kubectl

We have added a new Kubernetes cluster and configured it to be switched with the kubectl command. Once you set it up, you don't have to tweak it, and if you don't, you'll forget how to do it, so I'll write down how to set it up for myself.…

I thought I shouldn't use "latest" in Dockerfile tags.

Periodically, AWS S3 files are copied to Google Cloud Storage. There are many ways to copy, but here we use the gsutil command for the Google Cloud SDK, The Google Cloud SDK uses a Docker image of Alpine Linux. However, at some point, I st…

Memo for building Nginx+PHP+MySQL environment with Docker Compose

I had a need to use phpLDAPadmin, so I set up Nginx and PHP with Docker Compose and ran it there. This is a template memo for myself to prepare Nginx with PHP running on Docker Compose for the next time I want to use PHP on the web again. …

Notes on how to use Helm, a Kubernetes package manager

There is a Kubernetes package manager called Helm. I don't use it that often, but every time I search for how to use it, I make a note of it for myself. What is Helm? When adding functionality to Kubernetes, deploy it to the cluster with a…

How to automatically renew Let's Encrypt on Kubernetes (GKE) (wildcard certificate)

It was convenient to use "cert-manager" + DNS authentication to automatically update Let's Encrypt on Kubernetes (GKE) without processing on the service side. I wrote Introductory note before, but the procedure had changed, so I rewrote it…

How to run multiple Docker Servers with Docker on Windows

I have Docker on my Windows dextop PC running a server for a little routine work. However, since we also do development on the same PC, we do not want to have production affected by the work done in development, so we separate the machines…

How to communicate HTTPS with Kubernetes (GKE) (Ingress version)

This is a summary of how to communicate over HTTPS with Kubernetes (GKE) on Google Cloud Platform. Introduction. To allow Kubernetes to communicate with the outside world Method by Service Methods by Ingress There are two ways to do this. …

How to delete all unnamed images at once in Docker

When working with Docker, you may find yourself with a lot of unnamed images like the one below. The images are Official Description, and you can delete all of them at once as follows. $ docker rmi $(docker images -f "dangling=true" -q) Re…

The story of how I stopped using Docker on my Raspberry Pi.

It is fine to use Docker on the Raspberry Pi by itself, but it is not so easy to use Docker on the Raspberry Pi as a mini-server. impetus The server, which performs periodic crawls, was running on a desktop PC. Since we planned to prepare …