Skip to main content

Managing DDEV environment troubleshooting and setting up multiple Drupal projects

DDEV has become a popular tool for local web development, offering a streamlined approach to managing Docker-based environments. However, setting up and managing DDEV projects, particularly with the latest versions of Docker Desktop, can present challenges. This article guides you through resolving key issues, setting up Drupal, and managing multiple projects effectively.

 

How to set up a CKAN environment using Docker with Solr schema configuration

Setting up CKAN in a Docker environment can sometimes require some additional troubleshooting, particularly when working with Solr for search functionality. In this article, we’ll walk through how to set up CKAN 2.11 in a Docker environment with a specific focus on resolving issues related to Solr schema configuration.

 

Prerequisites

Before we start, ensure that you have the following installed on your system:

- Docker
- Docker Compose

 

Navigating Docker and PHP with PECL: Trials, errors, and the eventual solution

Working with Docker can be a rewarding but occasionally frustrating experience, especially when dealing with development libraries and extensions that rely on external repositories. In this article, I’ll walk you through the trials and errors I encountered while setting up PECL and APCu in a PHP 8.2 Docker container. The process was full of lessons, dead ends, and ultimately, a working solution.

 

Resolving PHP GD library issues in Drupal

Introduction

For a while now, one persistent issue has been bugging me: a warning on Drupal's 'status report' page that reads:

GD library

library bundled (2.1.0 compatible)

Connecting AWS S3 with Docker for Drupal 10

Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments (dev, staging and production).

sudo docker ps and exec -it

Working in an AWS ec2 environment, my goal is to access the server via terminal.

I initially work to get the instance ID.  With this ID, I'm able to connect to the server.  When first accessing the environment on the server the steps I take are:

sudo docker ps

ps - refers to the 'process status'

Response

Docker steps for rebuilding

Docker containers list

To view a list of Docker containers that are currently running, you can use the docker ps command. Open your terminal or command prompt and run the following command:

docker ps

This command will display a list of running containers, showing information like the container ID, image name, status, ports, and more.

Docker - Warning: copy(): SSL operation failed with code 1. OpenSSL Error messages:

Build the PHP base image with apache-buster using the Dockerfile.base

Since JN blocks some libraries update and pull, follow the following steps to build the base image locally.

Run the following command to build the base PHP image:
Make sure you are in the project root directory before running the command and its a fresh window after changing the proxy

Building a Drupal or Laravel instance on OSX using Lando and Docker

As a web developer, you will most likely need to run local copies of a bunch of different web sites. Regularly switching between several sites daily.  Sometime Drupal, other Laravel and whatever frameworks that are in your toolkit.

 

Install Docker and Lando

Do you have Docker installed?  No, then go to the Docker Desktop page and download.

Mariadb hangs on start up in Docker

Running Docker and attempting to install a web proxy environment where I'm attempting to create local web set up the consist of Drupal 9 with Composer + Docker-compose + Nginx + MariaDB + PHP8.1

However, when I run the command

docker-compose up

The terminal hangs at

Subscribe to Docker