diff --git a/raspi-docker/modules/ROOT/pages/index-install.adoc b/raspi-docker/modules/ROOT/pages/index-install.adoc index f07d952..12267ed 100644 --- a/raspi-docker/modules/ROOT/pages/index-install.adoc +++ b/raspi-docker/modules/ROOT/pages/index-install.adoc @@ -95,6 +95,30 @@ docker info docker ps ---- +== install docker-compose + +[source,sh] +---- +apt-get install libffi-dev libssl-dev +apt install python3-dev +apt-get install -y python3 python3-pip +---- + +*python3* and *pip3* are installed, we can install Docker-Compose using the following command: + +[source,sh] +---- +pip3 install docker-compose +---- + +=== check it + +docker-compose --version + + +docker-compose => 1.27.4 + + == Fix "x509: certificate signed by unknown authority" issue diff --git a/raspi-docker/modules/ROOT/pages/index.adoc b/raspi-docker/modules/ROOT/pages/index.adoc index f7ba90a..00ee4a0 100644 --- a/raspi-docker/modules/ROOT/pages/index.adoc +++ b/raspi-docker/modules/ROOT/pages/index.adoc @@ -1,29 +1,11 @@ -= Ad Hoc Network! += Raspi docker image::ROOT:swarmlab.png[swarmlab,150,float=right] -A *wireless ad hoc network (WANET)* or *mobile ad hoc network (MANET)* is a decentralized type of wireless network. +Docker does run on *Raspberry Pi 2, 3 and 4,* and you don't need any other OS beside Raspbian, the most popular and widely supported distributioni on RasPI. -The network is ad hoc because it *does not rely on a pre-existing infrastructure*, such as routers in wired networks or access points in wireless networks. Instead, each node participates in routing by forwarding data for other nodes, so the determination of which nodes forward data is made dynamically on the basis of network connectivity and the routing algorithm in use. - - -== Ad Hoc Networks - -.Ad Hoc Networks -image::ROOT:adhoc.png[] - -== Vehicle-to-Vehicle (V2V) communications - -.Vehicle-to-Vehicle (V2V) communications -image::ROOT:vehigle.png[] - -== Vehicle-to-Infrastructure (V2I) communications - -.Vehicle-to-Infrastructure (V2I) communications -image::ROOT:trafic.png[] - -https://www.researchgate.net/publication/272497022_The_Role_of_Ad_Hoc_Networks_in_the_Internet_of_Things_A_Case_Scenario_for_Smart_Environments[More here^] +You can also install *Docker Compose.*