testcontainers / testcontainers/testcontainers-python
New Container: sshd container with different variant `ubuntu, fedora, archlinux, ...`, with ability to preset a lot of authetication related value
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 2.3k
- Forks
- 386
- Merge moyen
- 4 h 40 min
- PR mergées (30 j)
- 1
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
L’issue ne nomme aucun fichier ni point d’entrée de test. Commencez par examiner les API de conteneur existantes du dépôt ainsi que les références OpenSSH et sshd liées, puis définissez les variantes de distribution prises en charge, les entrées d’authentification et les tests démontrant que le conteneur est prêt pour une utilisation avec le protocole SSH.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- docker, python
- Domaine
- devops, testing-qa
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100