cloud · container · docker · github actions · linux · power · ppc64le · x86_64

CICD: building multi-arch container images with GitHub Actions

The world is multi-arch and you can easily leverage it!

container · docker · linux

docker: delete containers running for a long time

If you need to delete running containers based on their lifetime, this handy combination of commands can help you. It deletes all containers running for more than 2 hours. HOUR=2docker ps –filter “status=running” | grep hours | awk ‘{if ($4 >=$HOUR) print $1,”must be deleted”; system(“docker rm -f ” $1)}’

cloud · container · docker · linux · ppc64le

ppc64le: Docker 19.x or Docker 20.x on RHEL8.x

Or, you can also try our rpm repository: The source code for the build can be found at https://github.com/Unicamp-OpenPower/docker-ce-releases.

docker · linux

docker: get the env vars within the container

cloud · docker · linux · ppc64le · s390x · x86_64

docker: creating multi-arch images

One of the great advantages of using containers [1] is that it brings flexibility to you deployments. You can have a container configured with everything you need and move it around to be executed where you want, which is a time saving approach (and reminds me of the Java’s WORA [2]: write once, run anywhere).… Continue reading docker: creating multi-arch images

container · docker · linux · macos · x86_64

ubuntu: Err:1 https://dl.yarnpkg.com/debian stable InRelease

I was updating the docker image I use to do Linux stuff within a macOS Mojave and during the update, this error message appeared: To fix it, I had to import the the public key for that repository: With that, everything worked as expected:

docker · linux

docker: remove all containers and images

docker · linux

docker: remove stopped containers