Skip to content

undock

Extracting files from container images

Allows you to extract contents of a container image in a local folder. This can be useful if you use a registry to store artifacts in a scratch image, and you want to extract them on your local machine with a single command.

devops

https://crazymax.dev/undock/

amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install undock

sudo apt install undock

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    undock=0.9.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      undock=0.9.0*

Download URLs

Version SHA256 Size (KB)
0.9.0 567b623b71ca581156817147defa7e66f0c546378938d40ad3bce89a1c2f1e40 7406
0.8.0 94e15d26490284a91b28227eede3bebd2069228208182bde571fc74f2aa10065 7275
0.7.0 52e7d507451b69df24684b254f527917298ef43d7ed38172ef5bf80dee31e133 7007

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for undock are versioned here.

Click here to see undock ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/undock/ops2deb.yml
name: undock
matrix:
  architectures:
    - amd64
  versions:
    - 0.7.0
    - 0.8.0
    - 0.9.0
homepage: https://crazymax.dev/undock/
summary: extracting files from container images
description: |-
  Allows you to extract contents of a container image in a local folder. This
  can be useful if you use a registry to store artifacts in a scratch image, and
  you want to extract them on your local machine with a single command.
fetch: https://github.com/crazy-max/undock/releases/download/v{{version}}/undock_{{version}}_linux_{{goarch}}.tar.gz
install:
  - undock:/usr/bin/undock

The blueprint fetch keyword contains a URL template pointing to undock releases. Downloaded files are locked in a lockfile versioned here.

Click here to see undock release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/undock/ops2deb.lock.yml
- url: https://github.com/crazy-max/undock/releases/download/v0.7.0/undock_0.7.0_linux_amd64.tar.gz
  sha256: e5aa723c76c0b1e3b5255a40b56acc24269d4dc95551d12f05aa6b3f7737c7a1
  timestamp: 2024-10-28 16:12:16+00:00
- url: https://github.com/crazy-max/undock/releases/download/v0.8.0/undock_0.8.0_linux_amd64.tar.gz
  sha256: 1bdf02c73cd34482dad17e784b8d3461b28c484bbe70259a6477c945f0257b3f
  timestamp: 2024-10-28 16:12:16+00:00
- url: https://github.com/crazy-max/undock/releases/download/v0.9.0/undock_0.9.0_linux_amd64.tar.gz
  sha256: e4666d854dc719ad20e53576c86b2ad4d64c64b24e4872e391f3696b98fa6f8c
  timestamp: 2025-01-11 15:06:07+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/undock.svg)](https://docs.wakemeops.com/packages/undock)
<a href="https://docs.wakemeops.com/packages/undock">
  <img src="https://docs.wakemeops.com/badges/undock.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/undock.svg
:target: https://docs.wakemeops.com/packages/undock