Autoupdate Script Docker Container: Revision history

From Master of Neuroscience Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 July 2026

  • curprev 16:0216:02, 22 July 2026 Davrot@uni-bremen.de talk contribs 1,571 bytes +1,571 Created page with "Example for nginx. You need to adapt:<syntaxhighlight lang="bash"> SERVICE_NAME="nginx" CONTAINER_NAME="nginx" IMAGE_NAME="nginx:stable-alpine" YAML_DIRECTORY_NAME="/docker/compose/" </syntaxhighlight><syntaxhighlight lang="bash">#!/bin/bash set -euo pipefail SERVICE_NAME="nginx" CONTAINER_NAME="nginx" IMAGE_NAME="nginx:stable-alpine" YAML_DIRECTORY_NAME="/docker/compose/" # Get current image ID (short format) CURRENT_IMAGE=$(docker inspect --format='{{.Image}}' "${C..." Tag: Visual edit