mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
17 lines
297 B
Bash
Executable File
17 lines
297 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -e
|
|
|
|
IMAGE="memoh-mcp:dev"
|
|
|
|
if [ "$(uname -s)" = "Darwin" ]; then
|
|
limactl shell default -- nerdctl rmi -f "$IMAGE"
|
|
exit $?
|
|
fi
|
|
|
|
if ! command -v nerdctl >/dev/null 2>&1; then
|
|
echo "nerdctl not found. Install nerdctl to remove images."
|
|
exit 1
|
|
fi
|
|
|
|
nerdctl rmi -f "$IMAGE"
|