Projets-2016-2017-Plateform Analyse Données IOT/Docker: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
Start the four images together :
Start the four images together :


* go in the folder containing docker-compose.yaml
* go in the folder containing docker-compose.yaml and use the following commands


* sudo docker-compose up -d
sudo docker-compose up -d


* sudo docker-compose exec node-red cat /etc/hosts
sudo docker-compose exec node-red cat /etc/hosts


* To see the ports associated to the images : sudo docker ps
* To see the ports associated to the images :
sudo docker ps

Latest revision as of 18:23, 23 March 2017

Our uses of Docker

You can execute this script in order to install Docker : You can find this script on Github. Or find it here : Script Docker Install

Images that we used

Start the four images together :

  • go in the folder containing docker-compose.yaml and use the following commands
 sudo docker-compose up -d
 sudo docker-compose exec node-red cat /etc/hosts
  • To see the ports associated to the images :
 sudo docker ps