developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
15
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
•
Setting up CKAN in a Docker environment can sometimes require some additional...
Andrew Fletcher
•
Working with Docker can be a rewarding but occasionally frustrating experience,...
Andrew Fletcher
•
Introduction
For a while now, one persistent issue has been bugging me: a...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
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 psps - refers to the 'process status'
Response
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6a6402c2c0c8 a0094945b64e "docker-php-entrypoi…" 49 minutes ago Up 49...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
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....
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 definition: dockerfile parse error line 45: unknown instruction: ZEND_EXTENSION=XDEBUG.SO
How I got here
Running the following Docker command
docker-compose upGenerated this output:
Building php
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring...
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
•
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...