Sha256: c16636faa0b1e720691f06177f05f23393c30f4c7aa8345dc5f265c872cc4f09

Contents?: true

Size: 491 Bytes

Versions: 9

Compression:

Stored size: 491 Bytes

Contents

#!/bin/bash

set -e

SCRIPT_DIR=$( cd -- "$( dirname -- "${0}" )" > /dev/null 2>&1 && pwd )

. "${SCRIPT_DIR}/dx.sh.lib"
require_command "docker"
load_docker_compose_env

usage_on_help "Prune containers for this repo" "" "" "" "${@}"

for container_id in $(docker container ls -a -f "name=^${PROJECT_NAME}-.*-1$" --format="{{.ID}}"); do
  log "๐Ÿ—‘" "Removing container with id '${container_id}'"
  docker container rm "${container_id}"
done
echo "๐Ÿงผ" "Containers removed"

# vim: ft=bash

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
gli-2.22.2 dx/prune
gli-2.22.1 dx/prune
brut-0.0.1 dx/prune
gli-2.22.0 dx/prune
with_clues-1.3.0 dx/prune
gli-2.21.5 dx/prune
gli-2.21.4 dx/prune
gli-2.21.3 dx/prune
gli-2.21.2 dx/prune