/ infrastructure

Update Docker images

In order to update all Docker images to their most recent version you can execute the following command on your machine:

docker images | \
    grep -v REPOSITORY | \
    grep -v TAG | \
    awk '{print $1 ":" $2}' | \
    xargs -L1 docker pull

Afterwards you will have to re-create the containers. When using docker-compose you can simply run the following, otherwise you will have to build the containers manually:

docker-compose up -d --force-recreate