Skip to content

Question: how to run container from gchr #913

@peterdudfield

Description

@peterdudfield

What are you trying to do?

Im trying to run a docker container from gchr

for example this one

Ive tried to look in the documentation, but I couldnt find anything. Sorry if it is there.

Note: I could run things using docker-compose, but there's something nice about running things with testcontainers and pytest instead

Where are you trying to do it?

In a test, something like

with DockerContainer(image="ghcr.io/openclimatefix/data-platform:0.8.0") as data_platform_server:

Runtime environment

Running things on a mac local, but would get like to get it running on github actions linux

Darwin Mac 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T8132 arm64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions