Technical Lead based in Manchester, UK
Hack The North 2.0
This weekend, I decided to attend Hack The North organised by the DWP Digital Team. A two-day event where like-minded people gathered together to identify and attempt to address the difficulties or hardships that individuals face when using support services offered by organisations in and around Manchester. This all-night event allows attendees to pitch their ideas and collaborate with others to implement a proof of concept which addresses these important issues.…
Read more ⟶
Docker stop all Containers
Last brain dump of today. Here’s some quick commands to stop running docker containers and also clean up afterwards (remove container files, and images).
Stop all containers:
docker stop $(docker ps -aq)
Remove all containers:
docker rm $(docker ps -aq)
Remove all images:
docker rmi $(docker images -q)…
Read more ⟶
GitLab : Build Docker Image within CI/CD Pipeline
Another brain dump for future reference. This is when setting up gitlab to build and run docker images when the CI/CD pipeline runs.
Install gitlab-runner On a linux x86-64 download the gitlab-runner package:
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
Give it permissions:
sudo chmod +x /usr/local/bin/gitlab-runner
Install docker:
curl -sSL https://get.docker.com/ | sh
Create the gitlab-runner user:
sudo useradd –comment ‘GitLab Runner’ –create-home gitlab-runner –shell /bin/bash
Install gitlab-runner:
sudo gitlab-runner install –user=gitlab-runner –working-directory=/home/gitlab-runner…
Read more ⟶