docker

Cross build your docker images

Now that ARM is getting bigger and AWS offering compute on ARM for bargain prices I was wondering if it would be feasible to prepare most of my projects for a platform shift to ARM. The tool I like to use is buildx at the moment it is still experimental but I'm having great success with it so far. Docker Buildx is a CLI plugin that extends the docker command with the full support of the features provided by Moby BuildKit builder toolkit.

Update all docker images

When you're running images with the tag latest on you local machine they might need some updates from time to time. With this one liner you pull the newest version in of all the images you already have locally. Update all images for image in $(sudo docker image ls | awk '{print $1}' | grep -ve "none\|REPOSITORY" | sort | uniq); do sudo docker pull $image ;done example This was on my media management machine: