The other day I was enjoying the sunset in Williamsburg while wearing my irregular bucket hat. I got a text from a friend that’s working on a web app project. He kept texting me the error he got in his Linux terminal “Invalid Reference Format Error in Docker” while trying to build an image from …
Tag Archives: docker
Install Docker Red Hat 8 Workaround
After taking a walk at the park wearing my new Irregular bucket hat I got a call from a customer wanting to install Docker on Red Hat 8. I have installed Docker on Ubuntu and macOS, but never on Red Hat. I found something right away in the Docker’s documentation site: We currently only provide …
Changes in Flask Don’t Show in Docker Compose
When working on my blood pressure readings app I noticed changes in Flask Don’t Show in Docker Compose automatically. I had to do a docker compose down and then up to see a simple change to one of my HTML template files. This got me very frustrated and I had to run to the kitchen …
Continue reading “Changes in Flask Don’t Show in Docker Compose”
The pg_trgm PostgreSQL extension is not present. The extension is required by Drupal 10
I got this pg_trgm PostgreSQL error after trying to run Drupal and Postgres using Docker compose for testing purposes. After taking the NYC subway to my home office I decided to look into this. The solution for this error was to install the missing extension in Postgres. Not sure why this is not installed by …
Docker failed to solve with frontend dockerfile.v0: failed to create LLB definition
I was working on improving my Flask skills and at the same time learning about REST APIs and how to build them using Flask, Docker, MongoDB and AWS. I’m using git in order to have my code available and practice whether at home or at the office macOS computer I have. Somehow, after pushing my …
Install Shell Completion for Docker in macOS Big Sur
Docker Desktop comes with scripts to enable completion for the docker and docker-compose commands. The completion scripts may be found inside Docker.app, in the Contents/Resources/etc/ directory and can be installed both in Bash and Zsh. Bash Bash has built-in support for completion To activate completion for Docker commands, these files need to be copied or …
Continue reading “Install Shell Completion for Docker in macOS Big Sur”
The requested image’s platform (linux/arm64) does not match the detected host platform
When I was testing Docker’s initial tutorial when you download for the first time I got the error: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/amd64) and nospecific platform was requested. It sucks because I got a new MacBook Pro M1 and I did not know about these issues with …
Run Docker without sudo Linux
To run Docker without sudo in Linux is quite simple. Using your terminal in Linux and a couple simple commands shown below. You don’t need to be an expert Linux guru software developer to go thru these steps. If you don’t want to preface the docker command with sudo, create a Linux group called docker and add users to it. …
Docker error: Cannot start service …: network 0927c not found
I have never seen this Docker error: Cannot start service while using docker-compose in the short time I have been using Docker. While having amazing Latin America coffee from Honduras I decided to jump back into my personal Flask project. This project is mainly to keep track of your blood pressure by taking daily readings …
Continue reading “Docker error: Cannot start service …: network 0927c not found”
Could not set the file size of ./ibtmp1. Probably out of disk space
While having my daily specialty coffee from Latin America I got this error for one of my docker containers running MySQL. ERROR: ‘Could not set the file size of ./ibtmp1’. Suddenly the container failed to start and I could not understand why! I reviewed the logs for my container: docker logs <my_container_name> Something strange ‘Could …
Continue reading “Could not set the file size of ./ibtmp1. Probably out of disk space”