Skip to main content
21
results
Andrew Fletcher
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 psThis command will display a list of running containers, showing information like the container ID, image name, status, ports, and more. If you want to see all containers, including those that are not currently running, you can use the following command: docker ps -aThe -a option shows all containers,...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed.  Don't know how to check?  Using Terminal (I prefer iTerm2), run the following command docker -D info  The set-up Go to your project directory, and create a docker folder and a “docker-compose.yml” file: mkdir/Users/{your_name}/Sites/{your_directory} cd /Users/{your_name}/Sites/{your_directory} mkdir docker cd docker vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
Andrew Fletcher
Running Docker and attempting to install a web proxy environment where I'm...
Andrew Fletcher
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All...
Andrew Fletcher
A recent attempt to run an update composer (regular activity for many of us), I had a memory limit issue.  This was surprising because the memory setting via Plesk is set to 2G.  Yet through Terminal it was showing only 128MB.  What gives??   The error I was seeing: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 32 bytes) in phar:///usr/lib64/plesk-9.0/composer.phar/src/Composer/DependencyResolver/Pool.php on line...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...
Andrew Fletcher
Running Docker in a new process and creating a container.   Go to the...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...