I followed the example to create an encrypted password:
docker run --rm python:alpine python -c "import crypt; print(crypt.crypt('YOUR_PASSWORD'))"
got the following error message:
File "<string>", line 1, in <module>
import crypt; print(crypt.crypt('YOUR_PASSWORD'))
^^^^^^^^^^^^
ModuleNotFoundError: No module named 'crypt'```