summaryrefslogtreecommitdiffstats
path: root/recipes-containers/vcontainer/files/vdkr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/vcontainer/files/vdkr.sh')
-rwxr-xr-xrecipes-containers/vcontainer/files/vdkr.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-containers/vcontainer/files/vdkr.sh b/recipes-containers/vcontainer/files/vdkr.sh
new file mode 100755
index 00000000..818c831e
--- /dev/null
+++ b/recipes-containers/vcontainer/files/vdkr.sh
@@ -0,0 +1,25 @@
1#!/bin/bash
2# SPDX-FileCopyrightText: Copyright (C) 2025 Bruce Ashfield
3#
4# SPDX-License-Identifier: GPL-2.0-only
5#
6# vdkr: Docker-like interface for cross-architecture container operations
7#
8# This provides a familiar docker-like CLI that executes commands inside
9# a QEMU-emulated environment with the target architecture's Docker.
10#
11# Command naming convention:
12# - Commands matching Docker's syntax/semantics use Docker's name (import, load, save, etc.)
13# - Extended commands with non-Docker behavior use 'v' prefix (vimport)
14
15# Set runtime-specific parameters before sourcing common code
16VCONTAINER_RUNTIME_NAME="vdkr"
17VCONTAINER_RUNTIME_CMD="docker"
18VCONTAINER_RUNTIME_PREFIX="VDKR"
19VCONTAINER_IMPORT_TARGET="docker-daemon:"
20VCONTAINER_STATE_FILE="docker-state.img"
21VCONTAINER_OTHER_PREFIX="VPDMN"
22VCONTAINER_VERSION="3.4.0"
23
24# Source common implementation
25source "$(dirname "${BASH_SOURCE[0]}")/vcontainer-common.sh" "$@"