diff --git a/README.md b/README.md index a8ae2d7..67a9366 100644 --- a/README.md +++ b/README.md @@ -2,27 +2,54 @@ +## Fix "x509: certificate signed by unknown authority" issue +> On Error: +> +> Get https ://registry.vlabs.uniwa.gr:5080/v2/: x509: certificate +> +> Pulling ... +> ERROR: Get https://registry.vlabs.uniwa.gr:5080/v2/: x509: certificate signed by unknown authority +**run** -This is the area where you we guide you to Install and use NeoVim +> sudo su +> +> touch set-ca.sh +> +**copy-paste lines** -== Pre-Installation Steps +> registry_address=hub.swarmlab.io +> registry_port=5443 +> mkdir -p /etc/docker/certs.d/$registry_address:$registry_port +> openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt +> +> registry_port=5480 +> mkdir -p /etc/docker/certs.d/$registry_address:$registry_port +> openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt +> exec file +> +> sudo bash ./set-ca.sh -=== Clone repo -[source,bash] ----- -mkdir [dir4project] -cd [dir4project] -GIT_SSL_NO_VERIFY=true git clone https://git.swarmlab.io:3000/docs/docs/src/branch/master ----- +### Clone repo +> mkdir [dir4project] +> cd [dir4project] +> GIT_SSL_NO_VERIFY=true git clone https://git.swarmlab.io:3000/docs/docs/src/branch/master -== Key map features + +### docker run + +> cd [dir4project] +> +> ./swl-nvim.sh +> + +### Key map features I try to avoid C- combinations for the things I do frequently, mapping things that make sense to the key. @@ -30,9 +57,9 @@ The leader key provides a facility for creating customized shortcuts that can be The leader key is normally defined by the mapleader variable as \. -== Normal mode + **Normal mode** -=== Edit Action +### Edit Action [cols="1,2",grid=none, frame=none] |===