Adding instructions.

This commit is contained in:
sergiotarxz 2021-01-15 16:57:51 +01:00
parent 7140c885b3
commit 4509355cf3
Signed by: sergiotarxz
GPG Key ID: E5903508B6510AC2
1 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,22 @@
# CertificadoDigitalDocker
Proyecto para permitir usar el certificado digital en cualquier sistema operativo contenido en una imagen Docker.
## Crear imagen
```shell
cp ~/.ssh/id_rsa.pub .
docker build . -t certificado
```
## Uso
```shell
nohup docker run --name certificado certificado &
ssh -Y $(docker inspect certificado | jq '.[0].NetworkSettings.Networks.bridge.IPAddress' | sed -e 's/"//g')
firefox
```
## DISCLAIMER
THIS CODE IS PROVIDED WITH THE HOPE IT WILL BE USEFULL BUT WITHOUT ANY WARRANTY UNDER THE MIT LICENSE.