Skip to main content
Run actions inside a `Docker <https://www.docker.com/>`__ image.

By default, Sloth CI apps run actions in a subprocess on the same machine they're running on. This extension overrides this and makes the app execute each action as a container inside a given Docker image.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.docker_exec


Usage
-----

.. code-block:: yaml
:caption: docker_exec.yml

extensions:
run_in_docker:
# Use the module sloth_ci.ext.docker_exec.
module: docker_exec

# Image name. If missing, slug of the Sloth app listen point is used.
# image: foo

# Path to the Docker daemon to connect to. Can point to either a tcp URL or a unix socket. If missing, the client connects to /var/run/docker.sock.
# base_url: tcp://555.55.55.55:5555 *.

# Docker API version used on the server. If missing, the latest version is used.
# version: 1.10

# Path to the Dockerfile used to build an image if it doesn't exist. If missing, current directory is used.
# path_to_dockerfile: docker/files

# Memory limit in MB.
# memory_limit: 10

# CPU share in per cent.
# cpu_share: 5

Metadata

Release files for sloth-ci.ext.docker_exec 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sloth-ci.ext.docker_exec 1.1.3
File Size Uploaded Provenance
sloth-ci.ext.docker_exec-1.1.3.zip 5.5 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for sloth-ci.ext.docker_exec 1.1.3
File Interpreter ABI Platform
sloth_ci.ext.docker_exec-1.1.3-py3-none-any.whl Python 3 none any Details
sloth-ci.ext.docker_exec-1.1.3.win-amd64.exe Details

Total release size: 152.1 kB

Release files / sloth-ci.ext.docker_exec-1.1.3.zip

Download URL sloth-ci.ext.docker_exec-1.1.3.zip
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e0408bdd4b10c803e02225d572db280b8ae916786c9adf08a5567a26dbdad2f3
BLAKE2b-256 checksum
How to use checksums
c1bce23413b9e2443b697665639565007be5a6e663198c9ef1cb8e4a55bbb1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sloth_ci.ext.docker_exec-1.1.3-py3-none-any.whl

Download URL sloth_ci.ext.docker_exec-1.1.3-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcb64ea298bd7680b749fbf1cbeb5d56387163a193f241f1d3fe1d458b24b3f4
BLAKE2b-256 checksum
How to use checksums
a70259f4134b13027348b483cba0afbacdcc849d0000f6924b6ef231de24037a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sloth-ci.ext.docker_exec-1.1.3.win-amd64.exe

Download URL sloth-ci.ext.docker_exec-1.1.3.win-amd64.exe
Size 141.7 kB
Tags Source
SHA-256 checksum
How to use checksums
95d9b7ab7dd712991d0414a82bec9ff2aa25d10a87a6bd0e3162b2b265a2070e
BLAKE2b-256 checksum
How to use checksums
a8ac205400c288b4d55c6a4cb49b099ab346fdee180d94b9946c10d2ddd4f2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sloth-ci.ext.docker_exec 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page