Browse Source

swarmlab.io

master
test2 5 years ago
parent
commit
ea92afa71d
  1. 6
      asciidoc/install-asciidoc.adoc
  2. 8
      docker/install.adoc
  3. 4
      git/use-git.adoc

6
asciidoc/install-asciidoc.adoc

@ -17,13 +17,13 @@ Apostolos rootApostolos@swarmlab.io
[[cheat-Docker]]
== Install Docker (Ubuntu)
http://docs.vlabs.uniwa.gr/Howtos/docker/install.adoc.html[^]
http://docs.swarmlab.io/Howtos/docker/install.adoc.html[^]
[[cheat-Ascii]]
== Install (swarmlab-adoc)
https://git.vlabs.uniwa.gr:3000/swarmlab/swarmlab-adoc[^]
https://git.swarmlab.io:3000/swarmlab/swarmlab-adoc[^]
[[cheat-useadoc]]
@ -49,7 +49,7 @@ TIP: swarmlab-adoc convert all *.adoc files recursiva in html5 and pdf
[NOTE]
====
```
docker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o ./path/to/FILENAME.html ./path/from/FILENAME.adoc
docker run --rm -v $(pwd):/documents/ registry.swarmlab.io:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o ./path/to/FILENAME.html ./path/from/FILENAME.adoc
```
Please note, there is a **.** in ./path
====

8
docker/install.adoc

@ -67,11 +67,11 @@ $ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
[[cheat-error]]
== On Error:
=== Get https ://registry.vlabs.uniwa.gr:5080/v2/: x509: certificate
=== Get https ://registry.swarmlab.io:5080/v2/: x509: certificate
```
Pulling ...
ERROR: Get https://registry.vlabs.uniwa.gr:5080/v2/: x509: certificate signed by unknown authority
ERROR: Get https://registry.swarmlab.io:5080/v2/: x509: certificate signed by unknown authority
```
- run
@ -83,7 +83,7 @@ $ sudo su
- copy-paste lines
```
registry_address=registry.vlabs.uniwa.gr
registry_address=registry.swarmlab.io
registry_port=5043
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
@ -102,7 +102,7 @@ openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/nul
=== Error response from daemon
```
docker: Error response from daemon: Get https://registry.vlabs.uniwa.gr:5080/v2/: dial tcp: lookup registry.vlabs.uniwa.gr on [::1]:53: read udp [::1]:56425->[::1]:53: read: connection refused.
docker: Error response from daemon: Get https://registry.swarmlab.io:5080/v2/: dial tcp: lookup registry.swarmlab.io on [::1]:53: read udp [::1]:56425->[::1]:53: read: connection refused.
```
Try again!

4
git/use-git.adoc

@ -17,7 +17,7 @@ Apostolos rootApostolos@swarmlab.io
[[cheat-clone]]
== clone from the Swarmlab repository
To browse repos go to https://git.vlabs.uniwa.gr:3000
To browse repos go to https://git.swarmlab.io:3000
find a repo, click on HTTPS button and and copy URL
Make sure you have Git installed, you can check with:
@ -33,7 +33,7 @@ This example gets the **swarmlab-adoc** repo
```
$ mkdir myrepo
$ cd myrepo
$ git -c http.sslverify=false clone https://git.vlabs.uniwa.gr:3000/swarmlab/swarmlab-adoc.git
$ git -c http.sslverify=false clone https://git.swarmlab.io:3000/swarmlab/swarmlab-adoc.git
$ cd swarmlab-adoc
```

Loading…
Cancel
Save