testcontainers / testcontainers/testcontainers-python
New Container: sshd container with different variant `ubuntu, fedora, archlinux, ...`, with ability to preset a lot of authetication related value
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 386
- Merge medio
- 4 h 40 min
- PR fusionados (30 d)
- 1
Descripción
What is the new container you'd like to have?
If possible just OS container like ubuntu, fedora, ...
But with sshd service enabled, and the authentication or users is preset by the provided argument to the Container class.
This class of container can significantly ease the testing process for user who are developing SSH-protocol related application.
Today, too many utility are depending on SSH protocol for secure connection (like git, rsync, sshfs, ...), especially in Unix/Linux world.
Why not just use a generic container for this?
Because sshd setup and configuration is relatively complicated, if all the time, user have to manually configure it, it will waste user a lot of time, and it is buggy especially apply it in a testing scenario.
There is different way of authentication and setting for sshd running in different distro.
If this work is done by the user, the user has to manually copy and do string editing in the configuration file for sshd. If exception arise, user will be very difficult to figure out whether the error is from their testcase or the container itself.
And SSHD is a different protocol to HTTP.
Other references:
Include any other relevant reading material about the enhancement.
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.
Línea de trabajo
El issue no especifica ningún archivo ni punto de entrada de pruebas. Empieza revisando las API de contenedores existentes del repositorio y las referencias enlazadas de OpenSSH y sshd; después, define las variantes de distribución compatibles, las entradas de autenticación y las pruebas que demuestren que el contenedor está listo para usarse con el protocolo SSH.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, python
- Área
- devops, testing-qa
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100