Docker's Remote API can be secured via TLS and client certificate verification.
First of all you need a few certificates and keys:
- CA certificate
- Server certificate
- Server key
- Client certificate
- Client key
| import typer | |
| from rich import print | |
| from rich.prompt import Prompt | |
| from datetime import datetime | |
| import langroid as lr | |
| from langroid.utils.configuration import settings | |
| app = typer.Typer() | |
This configuration worked for me, hope it helps
It is based on: https://becominghuman.ai/deep-learning-gaming-build-with-nvidia-titan-xp-and-macbook-pro-with-thunderbolt2-5ceee7167f8b
and on: https://stackoverflow.com/questions/44744737/tensorflow-mac-os-gpu-support
| #!/usr/bin/ruby | |
| # | |
| # Author: Dan Q (dan@scatmania.org) | |
| # More information: http://www.scatmania.org/?p=4600 | |
| # | |
| # This program is free software. It comes without any warranty, to | |
| # the extent permitted by applicable law. You can redistribute it | |
| # and/or modify it under the terms of the Do What The Fuck You Want | |
| # To Public License, Version 2, as published by Sam Hocevar. See | |
| # http://sam.zoy.org/wtfpl/COPYING for more details. |