get shell for docker vm on mac
For setting values on the docker vm on your mac you need to get a shell. Elastic has some statements online that don’t work on latest MacOS (14.1.1 + docker desktop 24.0.6). To get a shell you can use this command:
For setting values on the docker vm on your mac you need to get a shell. Elastic has some statements online that don’t work on latest MacOS (14.1.1 + docker desktop 24.0.6). To get a shell you can use this command:
These two commands result in a file containing a list of all files included in the container image. You can also export the complete container into a tar file:
Docker images from quay.io/keycloak/keycloak don’t contain any commands for a usual healthcheck and installing software is also not trivial. In a discussion on https://github.com/keycloak/keycloak/issues/17273 I found a solution that checks /proc/net/tcp for an open port 8080. That file contains all open ports in hex format. cat and grep are included in the image. So a …
After upgrading to macOS 14.1 my docker installation stopped woring and when I tried to pull an image it answered with the following error message: 192.168.65.0/24 is the configured docker internal network of Docker Desktop. It was running on defaults and I wasn’t aware of any manual changes. DNS of my host system worked properly: …
I’m using PostgreSQL in a lot of projects and in my dev environments I always run it with docker-compose. But configuring it properly isn’t so clear if you want to use proper time zone and a health check. Attached the config with a custom database name “db” and an admin user. With this pg_isready is …
Start PostgreSQL correctly with docker-compose.yml Read More »
First you need to choose a base image that is available for the target platforms as well. Create your Dockerfile as usual and then build the container for different platforms. This example would create an amd64 and a aarch64 (arm64/v8) image: Based on these you can create a manifest and upload it: This would already …
How to create docker containers for multiple platforms / architectures Read More »
Docker wants to bill companies for Docker Desktop. In my opinion it’s not worth it because there are multiple options how to replace it without the need to really change habits. Here the statement taken from Docker FAQ regarding payment for Docker Desktop: Who’s required to pay for Docker Desktop? Docker Desktop requires a paid, …