feature request: expand "Customizing Image Pull Behavior" to include a "platform" override
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- docker, java
- Área
- devops, documentation
Línea de trabajo
Lea las secciones “Customizing Image Pull Behavior” y “Image Pull Policy” y, a continuación, revise el issue enlazado y el enfoque documentado de CreateContainerCmdModifier. El issue solo estará completo cuando se hayan acordado, implementado, probado y documentado los ajustes y el comportamiento de la plataforma propuestos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
In the "Customizing Image Pull Behavior" section:
https://java.testcontainers.org/features/configuration/#customizing-image-pull-behaviour
there is an ability to to specify the behavior of timeouts while pulling.
There is also "pull.policy" which is not documented here but only in another place (https://java.testcontainers.org/features/advanced_options/#image-pull-policy)
the idea is to add a "pull.platform" or "pull.default-platform" or something which will override the platform detected normally with the one given as a property.
The proposal, initially to provide a single value as an override, is amended to provide two settings. one of which is a list of platforms to attempt to use - say ["darwin/arm64", "linux/arm64", "linux/amd64"] - and another which is a boolean flag which says whether or not the first one is a strict requirement (if false - implicit last thing to try is the default behavior). if the flag is true, and the first parameter is not null, the image pull action fails if none of the archs are present.
and document it in this section.
pros:
satisfy the needs described here - https://github.com/testcontainers/testcontainers-java/issues/3810#issuecomment-1876900016
cons:
potentially a satisfactory solution can be contained in user code as here - https://java.testcontainers.org/features/advanced_options/#using-createcontainercmdmodifier
conclusion:
purpose of this issue is to determine whether or not this addition is welcome as it seems to solve a need based on the other thread (linked in pros section)
- Lenguaje dominante
- Java
- Estrellas
- 8.8k
- Forks
- 2k
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 11
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de testcontainers/testcontainers-java
-
[Bug]: WaitStrategyTarget Handles Multiple Ports Differently to DocumentationPosiblemente ocupada @suvvvv la tomó hace 2 días. Abiertotype/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
testcontainers/testcontainers-java#12196 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: DockerImageName treats uppercase registry names as repository pathsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
testcontainers/testcontainers-java#12186 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategyPosiblemente ocupada @aymenjamaaoui la tomó hace 18 días. Abiertotype/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
testcontainers/testcontainers-java#12171 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Enhancement]: Document why singleton containers are required under Spring's test context cachingPosiblemente ocupada @zakaullah075 la tomó hace 111 días. Abiertotype/enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
testcontainers/testcontainers-java#11967 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Cannot reuse Selenium BrowserWebDriverContainers under LinuxPosiblemente ocupada @kdelay la tomó hace 133 días. Abiertotype/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
testcontainers/testcontainers-java#11941 ·
Los mantenedores suelen responder en 1 día
Todos los issues de testcontainers/testcontainers-java
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
erkamyaman/rust-anything#1381 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
java-native-access/jna#1757 ·